public class NIOSeekableLineReader extends AbstractSeekableLineReader
| Modifier and Type | Class and Description |
|---|---|
static class |
NIOSeekableLineReader.ByteBufferBackedInputStream |
class |
NIOSeekableLineReader.FileChannelInputStream |
blockSize, br, bufferFully, closed, is, UTF8| Constructor and Description |
|---|
NIOSeekableLineReader(FileChannel fc,
int blockSize,
NIOSeekableLineReaderFactory.NIOType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
doClose() |
InputStream |
doSeekLoad(long offset,
int maxLength) |
long |
getOffset() |
long |
getSize() |
close, finalize, getInputStream, isClosed, readLine, seek, seekWithMaxRead, setBufferFully, skipLinepublic NIOSeekableLineReader(FileChannel fc, int blockSize, NIOSeekableLineReaderFactory.NIOType type) throws IOException
IOExceptionpublic InputStream doSeekLoad(long offset, int maxLength) throws IOException
doSeekLoad in class AbstractSeekableLineReaderIOExceptionpublic long getOffset()
throws IOException
IOExceptionpublic void doClose()
throws IOException
doClose in class AbstractSeekableLineReaderIOExceptionpublic long getSize()
throws IOException
getSize in interface SeekableLineReadergetSize in class AbstractSeekableLineReaderIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.