public class SegmentedRepeatableFileInputStream extends RepeatableFileInputStream
Modifier and Type | Field and Description |
---|---|
protected long |
offset |
protected long |
segmentLength |
bytesReadPastMarkPoint, file, fis, markPoint
Constructor and Description |
---|
SegmentedRepeatableFileInputStream(java.io.File file,
long offset,
long segmentLength)
Creates a repeatable input stream based on a file.
|
Modifier and Type | Method and Description |
---|---|
int |
available() |
int |
read() |
int |
read(byte[] bytes,
int off,
int len) |
close, getWrappedInputStream, mark, markSupported, reset, skip
public SegmentedRepeatableFileInputStream(java.io.File file, long offset, long segmentLength) throws java.io.IOException
file
- java.io.IOException
public int available() throws java.io.IOException
available
in class RepeatableFileInputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class RepeatableFileInputStream
java.io.IOException
public int read(byte[] bytes, int off, int len) throws java.io.IOException
read
in class RepeatableFileInputStream
java.io.IOException