Interface Binary
-
- All Superinterfaces:
Serializable
public interface Binary extends Serializable
Common Binary representation interface, reflecting any binary content.After use,
dispose()
must be invoked.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dispose()
Clean up any resources opened in this binary.InputStream
getInputStream()
Return input stream of this binary.
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream() throws IOException
Return input stream of this binary.- Returns:
- input stream of this binary
- Throws:
IOException
- if IO exception occurs
-
dispose
void dispose()
Clean up any resources opened in this binary.
-
-