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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkIfStreamExists
(String path, boolean withError) getContainedFolders
(String path, boolean withError) getContainedStreams
(String path, boolean withError) Returns the original string instance that is wrapped.byte[]
void
removeStream
(String path, boolean withError) void
void
-
Constructor Details
-
StreamStoreWithBinaryWrapper
-
-
Method Details
-
getStringInstance
Returns the original string instance that is wrapped. -
getContainedStreams
- Specified by:
getContainedStreams
in interfaceIStreamStore
-
getContainedFolders
- Specified by:
getContainedFolders
in interfaceIStreamStore
-
readUTF8
- Specified by:
readUTF8
in interfaceIStreamStore
-
writeUTF8
- Specified by:
writeUTF8
in interfaceIStreamStore
-
removeStream
- Specified by:
removeStream
in interfaceIStreamStore
-
checkIfStreamExists
- Specified by:
checkIfStreamExists
in interfaceIStreamStore
-
readData
- Specified by:
readData
in interfaceIStreamStoreWithBinary
-
writeData
- Specified by:
writeData
in interfaceIStreamStoreWithBinary
-