public class FileBuffer extends Buffer
position, STOPCHARSJSON, STOPCHARSXML, STOPCHARSXMLENDSPACE| Constructor and Description |
|---|
FileBuffer() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getByte() |
char |
getChar() |
char |
getCurrentChar() |
int |
length() |
char |
nextClean(boolean currentValid)
Get the next char in the string, skipping whitespace.
|
java.lang.String |
toString() |
FileBuffer |
withFile(java.io.File file) |
FileBuffer |
withFile(java.lang.String fileName) |
FileBuffer |
withLookAHead(char current)
Add lookAHead to Buffer
|
FileBuffer |
withLookAHead(java.lang.CharSequence lookahead)
Add lookAHead to Buffer
|
array, checkValues, getDouble, getFloat, getInt, getLong, getShort, getString, getStringList, isEmpty, isEnd, nextString, nextString, nextToken, nextValue, nextValue, parseString, position, remaining, skip, skip, skipChar, skipTo, skipTo, splitStringspublic FileBuffer withFile(java.lang.String fileName) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic FileBuffer withFile(java.io.File file) throws java.io.FileNotFoundException
java.io.FileNotFoundExceptionpublic int length()
public char getChar()
public java.lang.String toString()
toString in class java.lang.Objectpublic FileBuffer withLookAHead(java.lang.CharSequence lookahead)
BufferItemlookahead - The String for look A Head String. For Simple Buffer change position back to the length of String or Save the String.public FileBuffer withLookAHead(char current)
BufferItemcurrent - The next Characterpublic char nextClean(boolean currentValid)
BufferItemnextClean in interface BufferItemnextClean in class BuffercurrentValid - is the current char also a valid characterpublic char getCurrentChar()
public byte getByte()
getByte in interface BufferItemgetByte in class Buffer