Package org.trellisldp.file
Class FileBinary
- java.lang.Object
-
- org.trellisldp.file.FileBinary
-
-
Constructor Summary
Constructors Constructor Description FileBinary(File file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getContent()
InputStream
getContent(int from, int to)
-
-
-
Method Detail
-
getContent
public InputStream getContent()
- Specified by:
getContent
in interfaceBinary
- Returns:
- the content of this
Binary
-
getContent
public InputStream getContent(int from, int to)
- Specified by:
getContent
in interfaceBinary
- 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
-
-