Package org.trellisldp.api
Interface Binary
-
- All Known Implementing Classes:
FileBinary
public interface Binary
The non-RDF content of an LDP NonRDFSource.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getContent()
InputStream
getContent(int from, int to)
-
-
-
Method Detail
-
getContent
InputStream getContent()
- Returns:
- the content of this
Binary
-
getContent
InputStream getContent(int from, int to)
- Parameters:
from
- the point in bytes from which to begin contentto
- the point in bytes at which to end content- Returns:
- content from
from
toto
inclusive
-
-