public interface LineReader<T>
LineReader implementations must be state less
therefore thread-safe.| Modifier and Type | Interface and Description |
|---|---|
static class |
LineReader.Line
Line class captures information to represent a line within a
ByteSource |
static class |
LineReader.LineBreak |
| Modifier and Type | Method and Description |
|---|---|
T |
readLine(ByteSource src)
Reads a line from the
ByteSource |
T |
readLine(ByteSource src,
boolean skipBlankLines)
Reads a line from the
ByteSource |
static final byte LF
static final byte CR
T readLine(ByteSource src)
ByteSourcesrc - srcT readLine(ByteSource src, boolean skipBlankLines)
ByteSourcesrc - byte source with byte streamskipBlankLines - when true, the reader skips blank lines (LF/CRLF)ByteSource.ByteRangeCopyright © 2019. All rights reserved.