public class WrappedSeekableLineReader extends java.lang.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() |
java.io.InputStream |
getInputStream() |
long |
getSize() |
boolean |
isClosed() |
java.lang.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 java.io.IOException
seek in interface SeekableLineReaderjava.io.IOExceptionpublic void seekWithMaxRead(long offset,
boolean gzip,
int maxLength)
throws java.io.IOException
seekWithMaxRead in interface SeekableLineReaderjava.io.IOExceptionpublic java.io.InputStream getInputStream()
getInputStream in interface SeekableLineReaderpublic java.lang.String readLine()
throws java.io.IOException
readLine in interface SeekableLineReaderjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface SeekableLineReaderjava.io.IOExceptionpublic long getSize()
throws java.io.IOException
getSize in interface SeekableLineReaderjava.io.IOExceptionpublic void setBufferFully(boolean bufferFully)
setBufferFully in interface SeekableLineReaderpublic boolean isClosed()
isClosed in interface SeekableLineReaderpublic void skipLine()
throws java.io.IOException
skipLine in interface SeekableLineReaderjava.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.