public class FastLineReader
extends java.lang.Object
implements java.io.Closeable
| Constructor and Description |
|---|
FastLineReader(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atEoln() |
void |
close() |
boolean |
eof() |
byte |
getByte() |
byte |
peekByte() |
int |
readToEndOfOutputBufferOrEoln(byte[] outputBuffer,
int startOutputIndex)
Read from input until input is exhausted, EOLN is seen, or output buffer is filled
|
boolean |
skipNewlines()
Advance over any EOLN chars (CR or LF)
|
public boolean eof()
public boolean atEoln()
public boolean skipNewlines()
public void close()
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablepublic byte getByte()
public byte peekByte()
public int readToEndOfOutputBufferOrEoln(byte[] outputBuffer,
int startOutputIndex)
outputBuffer - where to put bytes readstartOutputIndex - where to start putting bytes read