public class WrappedSeekableLineReader extends Object implements SeekableLineReader
| Modifier and Type | Field and Description |
|---|---|
protected SeekableLineReader |
slr |
| Constructor and Description |
|---|
WrappedSeekableLineReader(SeekableLineReader slr) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getInputStream() |
long |
getSize() |
boolean |
isClosed() |
String |
readLine() |
void |
seek(long offset) |
void |
seekWithMaxRead(long offset,
boolean gzip,
int maxLength) |
void |
setBufferFully(boolean bufferFully) |
void |
skipLine() |
protected SeekableLineReader slr
public WrappedSeekableLineReader(SeekableLineReader slr)
public void seek(long offset)
throws IOException
seek in interface SeekableLineReaderIOExceptionpublic void seekWithMaxRead(long offset,
boolean gzip,
int maxLength)
throws IOException
seekWithMaxRead in interface SeekableLineReaderIOExceptionpublic InputStream getInputStream()
getInputStream in interface SeekableLineReaderpublic String readLine() throws IOException
readLine in interface SeekableLineReaderIOExceptionpublic void close()
throws IOException
close in interface SeekableLineReaderIOExceptionpublic long getSize()
throws IOException
getSize in interface SeekableLineReaderIOExceptionpublic void setBufferFully(boolean bufferFully)
setBufferFully in interface SeekableLineReaderpublic boolean isClosed()
isClosed in interface SeekableLineReaderpublic void skipLine()
throws IOException
skipLine in interface SeekableLineReaderIOExceptionCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.