Class WrappedSeekableLineReader
java.lang.Object
org.archive.util.binsearch.WrappedSeekableLineReader
- All Implemented Interfaces:
SeekableLineReader
- Direct Known Subclasses:
FieldExtractingSLR
WrappedSeekableLineReader that wraps an existing SeekableLineReader for custom extension
- Author:
- ilya
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetSize()booleanisClosed()readLine()voidseek(long offset) voidseekWithMaxRead(long offset, boolean gzip, int maxLength) voidsetBufferFully(boolean bufferFully) voidskipLine()
-
Field Details
-
slr
-
-
Constructor Details
-
WrappedSeekableLineReader
-
-
Method Details
-
seek
- Specified by:
seekin interfaceSeekableLineReader- Throws:
IOException
-
seekWithMaxRead
- Specified by:
seekWithMaxReadin interfaceSeekableLineReader- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin interfaceSeekableLineReader
-
readLine
- Specified by:
readLinein interfaceSeekableLineReader- Throws:
IOException
-
close
- Specified by:
closein interfaceSeekableLineReader- Throws:
IOException
-
getSize
- Specified by:
getSizein interfaceSeekableLineReader- Throws:
IOException
-
setBufferFully
public void setBufferFully(boolean bufferFully) - Specified by:
setBufferFullyin interfaceSeekableLineReader
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceSeekableLineReader
-
skipLine
- Specified by:
skipLinein interfaceSeekableLineReader- Throws:
IOException
-