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 InputStreamgetContent()InputStreamgetContent(int from, int to)
-
-
-
Method Detail
-
getContent
public InputStream getContent()
- Specified by:
getContentin interfaceBinary- Returns:
- the content of this
Binary
-
getContent
public InputStream getContent(int from, int to)
- Specified by:
getContentin interfaceBinary- Parameters:
from- the point in bytes from which to begin contentto- the point in bytes at which to end content- Returns:
- content from
fromtotoinclusive
-
-