BaseItem, BufferItempublic class CharacterReader extends CharacterBuffer
| Modifier and Type | Field | Description |
|---|---|---|
protected int |
character |
The character.
|
protected int |
line |
The line.
|
ENDLINE, position, STOPCHARSJSON, STOPCHARSXML, STOPCHARSXMLENDlengthQUOTES, SPACE| Constructor | Description |
|---|---|
CharacterReader() |
| Modifier and Type | Method | 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) |
array, checkValues, getBoolean, getByte, getDouble, getFloat, getInt, getLong, getShort, getString, getStringList, getUnsignedInt, isEmpty, nextClean, nextString, nextString, nextToken, nextValue, position, readLine, skip, skip, skipChar, skipTo, skipTo, splitStringsclear, getCurrentChar, getNextString, isEnd, isEndCharacter, length, nextString, nextValue, parseString, substring, toArrayString, toBytes, withLookAHead, withLookAHead, withPositionadd, byteAt, charAt, create, endsWith, equals, equalsIgnoreCase, equalsLevenshtein, equalsText, getNewList, getStringPart, indexOf, indexOf, indexOf, indexOf, insert, isEmptyCharacter, lastIndexOf, printError, remaining, remove, replace, replace, replace, rtrim, set, set, setNextString, size, startsWith, startsWith, subSequence, toCharArray, toCurrentString, toString, toString, trim, trimEnd, trimSize, trimStart, with, with, with, with, with, with, with, with, withBufferLength, withCollection, withLength, withLine, withObjects, withRepeat, withStart, withStart, withStartPosition, withValue, writepublic 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