Closeable, AutoCloseable, InputStreamWrapperpublic class SegmentedRepeatableFileInputStream extends RepeatableFileInputStream
| Constructor | Description |
|---|---|
SegmentedRepeatableFileInputStream(File file,
long offset,
long segmentLength) |
Creates a repeatable input stream based on a file.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
available() |
|
int |
read() |
|
int |
read(byte[] bytes,
int off,
int len) |
read, readAllBytes, readNBytes, transferToequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getWrappedInputStream, mark, markSupported, reset, skippublic 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