RamStringB64Extensible Interface
RamStringB64Extensible Interface
jakarta.servlet
Interface RamStringB64Extensible
( Written by Mr Samuel A Marhant , [email protected] , [email protected] Sydney NSW Australia, Wednesday, 09-12-20
17:44:59 GMT 2020-12-09T09:41:59.549Z )
The RamStringB64Extensible interface allows files for Base 64 encryption to be loaded as String, removed or replaced on a variable
sized array whenever required.
This interface is obtained through the Interface RamStringB64 in this same package.
Example:
RamStringB64 r64 = request.getServletContext().getContext("/RAMFileLoader").getRamStringB64Instance(); // cross context from
another running app to /RAMFileLoader application
RamStringB64Extensible razstex = r64.getRAMStringB64ExtInterface();
RamStringB64 r64 = request.getServletContext().getRamStringB64Instance(); // from within the running app to its own instance
RamStringB64Extensible razstex = r64.getRAMStringB64ExtInterface();
Method Summary
Obtains the full length path filename of the array element's file.
Returns a long of the number of bytes total in the encrypted stored file String.
Returns a long of the file size of the origin file that loaded the encrypted String.
int getB64StoreMapArrayLength()
This is the method of obtaining the base 64 crypted String element from the array for use
for (SMTP attachment or IMG tag ... )
long getTotalBytesGC()
NOT REQUIRED FOR USE. (convenient method of passing Garbage Collector information for
System GC clean up)
boolean hasNamedB64ElementKey(java.lang.String keyname)
java.util.Set<java.lang.String> keysOfB64Array()
Obtains the current keys of the array as a Set object.
Method Detail
getTotalBytesGC
long getTotalBytesGC()
replaceB64LoadedFile
removeB64LoadedFile
putB64ByteFile
getFileB64Bytes
getB64FileByteLength
getB64StringElementLength
getB64EncodedByteLength
getB64StoreMapArrayLength
int getB64StoreMapArrayLength()
getB64SimpleFileName
getB64CanonicalFileName
hasNamedB64ElementKey
keysOfB64Array
java.util.Set<java.lang.String> keysOfB64Array()