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(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
read
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
Copyright © 2006–2018. All rights reserved.