Interface BinaryStore
-
public interface BinaryStoreAbstraction for storing binaries
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamget(String reference)Return an input stream for the identifierStringput(String id, InputStream stream, long length)Return the reference for the
-
-
-
Method Detail
-
get
InputStream get(String reference) throws IOException
Return an input stream for the identifier- Parameters:
reference- binary reference- Returns:
- Throws:
IOException
-
put
String put(String id, InputStream stream, long length) throws IOException
Return the reference for the- Parameters:
id- binary identifierstream- stream to storelength- length of the stream- Returns:
- Throws:
IOException
-
-