Interface BinaryStore
-
public interface BinaryStore
Abstraction for storing binaries
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
get(String reference)
Return an input stream for the identifierString
put(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
-
-