public class AsynchronousLineReader extends java.lang.Object implements LineReader
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NUMBER_LINES_BUFFER |
Constructor and Description |
---|
AsynchronousLineReader(java.io.Reader reader) |
AsynchronousLineReader(java.io.Reader reader,
int lineReadAheadSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
readLine() |
public static final int DEFAULT_NUMBER_LINES_BUFFER
public AsynchronousLineReader(java.io.Reader reader, int lineReadAheadSize)
public AsynchronousLineReader(java.io.Reader reader)
public java.lang.String readLine()
readLine
in interface LineReader
public void close()
close
in interface LineReader
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable