public class SegmentedRepeatableFileInputStream extends RepeatableFileInputStream
| Constructor and Description |
|---|
SegmentedRepeatableFileInputStream(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, skipreadpublic SegmentedRepeatableFileInputStream(File file, long offset, long segmentLength) throws IOException
file - IOExceptionpublic int available()
throws IOException
available in class RepeatableFileInputStreamIOExceptionpublic int read()
throws IOException
read in class RepeatableFileInputStreamIOExceptionpublic int read(byte[] bytes,
int off,
int len)
throws IOException
read in class RepeatableFileInputStreamIOException