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, skippublic SegmentedRepeatableFileInputStream(java.io.File file,
long offset,
long segmentLength)
throws java.io.IOException
file - java.io.IOExceptionpublic int available()
throws java.io.IOException
available in class RepeatableFileInputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class RepeatableFileInputStreamjava.io.IOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws java.io.IOException
read in class RepeatableFileInputStreamjava.io.IOException