public class Scanner
extends java.lang.Object
Constructor and Description |
---|
Scanner(java.io.InputStream in,
java.nio.charset.Charset charset) |
Scanner(java.io.Reader reader) |
Scanner(java.lang.String jsonString) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBooleanValue() |
int |
getColumn() |
int |
getLine() |
char |
getLookahead() |
java.lang.String |
getName() |
double |
getNumberValue() |
java.lang.String |
getStringValue() |
java.lang.Object |
getValue() |
int |
next() |
int |
nextName() |
int |
nextValue() |
public Scanner(java.io.Reader reader) throws java.io.IOException
java.io.IOException
public Scanner(java.io.InputStream in, java.nio.charset.Charset charset) throws java.io.IOException
java.io.IOException
public Scanner(java.lang.String jsonString) throws java.io.IOException
java.io.IOException
public int next() throws java.io.IOException
java.io.IOException
public int nextName() throws java.io.IOException, JSONException
java.io.IOException
JSONException
public java.lang.String getName()
public int nextValue() throws java.io.IOException, JSONException
java.io.IOException
JSONException
public boolean getBooleanValue()
public double getNumberValue()
public java.lang.String getStringValue()
public char getLookahead() throws java.io.IOException
java.io.IOException
public int getLine()
public int getColumn()
public java.lang.Object getValue()