public class ArrayCharSource extends CharSource
| Modifier and Type | Field and Description |
|---|---|
static InjectableFactory<char[],ArrayCharSource> |
factory |
| Constructor and Description |
|---|
ArrayCharSource(char[] buff) |
| 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<char[],ArrayCharSource> factory
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.