Closeable
, AutoCloseable
, InputStreamWrapper
public 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, transferTo
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getWrappedInputStream, mark, markSupported, reset, skip
public SegmentedRepeatableFileInputStream(File file, long offset, long segmentLength) throws IOException
file
- IOException
public int available() throws IOException
available
in class RepeatableFileInputStream
IOException
public int read() throws IOException
read
in class RepeatableFileInputStream
IOException
public int read(byte[] bytes, int off, int len) throws IOException
read
in class RepeatableFileInputStream
IOException