Interface BinaryStore
public interface BinaryStore
Abstraction for storing binaries
-
Method Details
-
get
java.io.InputStream get(java.lang.String reference) throws java.io.IOExceptionReturn an input stream for the identifier- Parameters:
reference- binary reference- Returns:
- Throws:
java.io.IOException
-
put
java.lang.String put(java.lang.String id, java.io.InputStream stream, long length) throws java.io.IOExceptionReturn the reference for the- Parameters:
id- binary identifierstream- stream to storelength- length of the stream- Returns:
- Throws:
java.io.IOException
-