public class SegmentationPlanByteArray extends SegmentationPlan
currentSegment, segmentationSize| Constructor and Description |
|---|
SegmentationPlanByteArray(byte[] data,
long segmentationSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the underlying File, if appropriate
|
protected java.io.InputStream |
createSegment()
Creates an InputStream from the current segment
|
protected java.lang.Long |
getFileLength()
Returns the file length of the object
|
done, getNextSegment, getSegmentNumberpublic SegmentationPlanByteArray(byte[] data,
long segmentationSize)
protected java.lang.Long getFileLength()
SegmentationPlangetFileLength in class SegmentationPlanprotected java.io.InputStream createSegment()
throws java.io.IOException
SegmentationPlancreateSegment in class SegmentationPlanjava.io.IOException - thrown if error occurspublic void close()
throws java.io.IOException
SegmentationPlanclose in class SegmentationPlanjava.io.IOException - thrown if error occursCopyright © 2012-2020 42 BV. All Rights Reserved.