public class ReaderCharSource extends CharSource
| Modifier and Type | Field and Description |
|---|---|
static InjectableFactory<Reader,ReaderCharSource> |
factory |
| Constructor and Description |
|---|
ReaderCharSource(Reader reader) |
ReaderCharSource(Reader reader,
int bufSize) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEof(int i) |
char |
peek(int i) |
char |
read() |
boolean |
readUntil(int length,
Predicator<CharSource> predicator,
StringBuilder target)
Skip chars until eof or length or predicator condition matches
If target is set, the skipped the chars will be saved in the target
|
dump, getBookmark, getPos, isEof, peak, peek, read, read, readQuotedString, readUntil, readUntil, readUntil, readUntil, readUntil, readUntilMatch, readUntilMatch, skip, skipSpaces, skipUntil, skipUntil, skipUntil, skipUntilMatch, startsWidthpublic static final InjectableFactory<Reader,ReaderCharSource> factory
public ReaderCharSource(Reader reader, int bufSize)
public ReaderCharSource(Reader reader)
public char read()
read in class CharSourcepublic char peek(int i)
peek in class CharSourcepublic boolean isEof(int i)
isEof in class CharSourcepublic boolean readUntil(int length,
Predicator<CharSource> predicator,
StringBuilder target)
CharSourcereadUntil in class CharSourceCopyright © 2019. All rights reserved.