Closeable, AutoCloseablepublic class FastLineReader extends Object implements Closeable
| Constructor | Description |
|---|---|
FastLineReader(InputStream in) |
| Modifier and Type | Method | 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 FastLineReader(InputStream in)
public boolean eof()
public boolean atEoln()
public boolean skipNewlines()
public void close()
close in interface AutoCloseableclose in interface Closeablepublic byte getByte()
public byte peekByte()
public int readToEndOfOutputBufferOrEoln(byte[] outputBuffer,
int startOutputIndex)
outputBuffer - where to put bytes readstartOutputIndex - where to start putting bytes read