Class NIOSeekableLineReader
java.lang.Object
org.archive.util.binsearch.AbstractSeekableLineReader
org.archive.util.binsearch.impl.NIOSeekableLineReader
- All Implemented Interfaces:
SeekableLineReader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classclass -
Field Summary
Fields inherited from class org.archive.util.binsearch.AbstractSeekableLineReader
blockSize, br, bufferFully, closed, is, UTF8 -
Constructor Summary
ConstructorsConstructorDescriptionNIOSeekableLineReader(FileChannel fc, int blockSize, NIOSeekableLineReaderFactory.NIOType type) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoClose()doSeekLoad(long offset, int maxLength) longlonggetSize()Methods inherited from class org.archive.util.binsearch.AbstractSeekableLineReader
close, finalize, getInputStream, isClosed, readLine, seek, seekWithMaxRead, setBufferFully, skipLine
-
Constructor Details
-
NIOSeekableLineReader
public NIOSeekableLineReader(FileChannel fc, int blockSize, NIOSeekableLineReaderFactory.NIOType type) throws IOException - Throws:
IOException
-
-
Method Details
-
doSeekLoad
- Specified by:
doSeekLoadin classAbstractSeekableLineReader- Throws:
IOException
-
getOffset
- Throws:
IOException
-
doClose
- Specified by:
doClosein classAbstractSeekableLineReader- Throws:
IOException
-
getSize
- Specified by:
getSizein interfaceSeekableLineReader- Overrides:
getSizein classAbstractSeekableLineReader- Throws:
IOException
-