Package org.eclnt.jsfserver.streamstore
Class StreamStoreWithBinaryWrapper
java.lang.Object
org.eclnt.jsfserver.streamstore.StreamStoreWithBinaryWrapper
- All Implemented Interfaces:
IStreamStore,IStreamStoreWithBinary
Wrapper class that wraps a string based
IStreamStore-implementation
and provides the binary functions on top. The binary information is internally
transferred to string data using base64 encoding.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIfStreamExists(String path, boolean withError) getContainedFolders(String path, boolean withError) getContainedStreams(String path, boolean withError) Returns the original string instance that is wrapped.byte[]voidremoveStream(String path, boolean withError) voidvoid
-
Constructor Details
-
StreamStoreWithBinaryWrapper
-
-
Method Details
-
getStringInstance
Returns the original string instance that is wrapped. -
getContainedStreams
- Specified by:
getContainedStreamsin interfaceIStreamStore
-
getContainedFolders
- Specified by:
getContainedFoldersin interfaceIStreamStore
-
readUTF8
- Specified by:
readUTF8in interfaceIStreamStore
-
writeUTF8
- Specified by:
writeUTF8in interfaceIStreamStore
-
removeStream
- Specified by:
removeStreamin interfaceIStreamStore
-
checkIfStreamExists
- Specified by:
checkIfStreamExistsin interfaceIStreamStore
-
readData
- Specified by:
readDatain interfaceIStreamStoreWithBinary
-
writeData
- Specified by:
writeDatain interfaceIStreamStoreWithBinary
-