RangeReader
Reader that reads only a specified range from the source reader.
| Methods |
|
RangeReader(Reader r, long offset, long limit)
Creates new instance of range reader.
|
|
RangeReader(Reader r, long offset, long limit) throws IOException
Creates new instance of range reader.
Parameters:
r - source reader
offset - offset of the range
limit - length of the range
Throws:
IOException - on I/O exception during seeking to the specified offset
|
| void |
close()
|
| void |
close() throws IOException
|
| void |
mark(int readAheadLimit)
|
| void |
mark(int readAheadLimit) throws IOException
|
| boolean |
markSupported()
|
| boolean |
markSupported()
|
| int |
read()
|
| int |
read() throws IOException
|
| int |
read(char[] cbuf, int off, int len)
|
| int |
read(char[] cbuf, int off, int len) throws IOException
|
| boolean |
ready()
|
| boolean |
ready() throws IOException
|
| void |
reset()
|
| void |
reset() throws IOException
|
| long |
skip(long n)
|
| long |
skip(long n) throws IOException
|
|