final class JSONScanner
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
checkpointX |
private int |
checkpointY |
private boolean |
isInt |
private long |
offset |
private int |
prevChar |
private java.io.Reader |
reader |
private java.lang.String |
value |
private int |
x |
private int |
y |
Constructor and Description |
---|
JSONScanner(java.io.Reader reader) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
close() |
(package private) int |
column() |
(package private) long |
getCharacterOffset() |
(package private) java.lang.String |
getValue() |
(package private) boolean |
isInteger() |
(package private) int |
line() |
(package private) JSONSymbol |
nextSymbol() |
private int |
readChar(boolean checkpoint) |
private void |
readKeyword(java.lang.String text) |
private java.lang.String |
readNumber(int prefetch) |
private java.lang.String |
readString() |
java.lang.String |
toString() |
private java.io.Reader reader
private java.lang.String value
private int prevChar
private int x
private int y
private int checkpointX
private int checkpointY
private long offset
private boolean isInt
JSONScanner(java.io.Reader reader) throws java.io.IOException
java.io.IOException
JSONSymbol nextSymbol() throws JSONException, java.io.IOException
JSONException
java.io.IOException
java.lang.String getValue()
private void readKeyword(java.lang.String text) throws JSONException, java.io.IOException
JSONException
java.io.IOException
private java.lang.String readString() throws JSONException, java.io.IOException
JSONException
java.io.IOException
private java.lang.String readNumber(int prefetch) throws JSONException, java.io.IOException
JSONException
java.io.IOException
private int readChar(boolean checkpoint) throws java.io.IOException
java.io.IOException
boolean isInteger()
void close() throws java.io.IOException
java.io.IOException
int line()
int column()
long getCharacterOffset()
public java.lang.String toString()
toString
in class java.lang.Object