public class CharacterReader extends CharacterBuffer
| Modifier and Type | Field and Description |
|---|---|
protected int |
character
The character.
|
protected int |
line
The line.
|
lengthposition, STOPCHARSJSON, STOPCHARSXML, STOPCHARSXMLENDSPACE| Constructor and Description |
|---|
CharacterReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
back() |
char |
getChar()
Get the next character in the source string.
|
boolean |
isString() |
CharacterBuffer |
nextString(CharacterBuffer sc,
boolean allowQuote,
boolean nextStep,
char... quotes)
Return the characters up to the next close quote character.
|
CharacterReader |
with(java.lang.CharSequence... items)
Init the new CharacterBuffer
|
CharacterReader |
withString(boolean isString) |
addStart, byteAt, charAt, clear, endsWith, equals, equalsIgnoreCase, getStringPart, indexOf, indexOf, isEmptyCharacter, lastIndexOf, remaining, remove, replace, reset, set, set, setNextString, startsWith, subSequence, toCharArray, toString, trim, trimStart, with, with, with, with, with, withBufferLength, withLength, withLine, withObjects, withRepeat, withStart, withStartPosition, withValuegetCurrentChar, getNextString, length, nextValue, parseString, substring, withLookAHead, withLookAHead, withPositionarray, checkValues, getByte, getDouble, getFloat, getInt, getLong, getShort, getString, getStringList, isEmpty, isEnd, nextClean, nextString, nextToken, nextValue, position, skip, skip, skipChar, skipTo, skipTo, splitStringspublic boolean isString()
public CharacterReader withString(boolean isString)
public boolean back()
back in class BufferedBufferpublic char getChar()
CharacterBuffergetChar in interface BufferItemgetChar in class CharacterBufferpublic CharacterBuffer nextString(CharacterBuffer sc, boolean allowQuote, boolean nextStep, char... quotes)
BufferItemnextString in interface BufferItemnextString in class Buffersc - StringContainer for manage CharsallowQuote - is allow Quote in StreamnextStep - must i step next after find Textquotes - The quoting character, either "
(double quote) or '
(single quote).public CharacterReader with(java.lang.CharSequence... items)
CharacterBufferwith in class CharacterBufferitems - the reference CharSequence