android.util
Class JsonReader
java.lang.Object
android.util.JsonReader
- All Implemented Interfaces:
- Closeable
public final class JsonReader
- extends Object
- implements Closeable
JsonReader
public JsonReader(Reader in)
setLenient
public void setLenient(boolean lenient)
isLenient
public boolean isLenient()
beginArray
public void beginArray()
throws IOException
- Throws:
IOException
endArray
public void endArray()
throws IOException
- Throws:
IOException
beginObject
public void beginObject()
throws IOException
- Throws:
IOException
endObject
public void endObject()
throws IOException
- Throws:
IOException
hasNext
public boolean hasNext()
throws IOException
- Throws:
IOException
peek
public JsonToken peek()
throws IOException
- Throws:
IOException
nextName
public String nextName()
throws IOException
- Throws:
IOException
nextString
public String nextString()
throws IOException
- Throws:
IOException
nextBoolean
public boolean nextBoolean()
throws IOException
- Throws:
IOException
nextNull
public void nextNull()
throws IOException
- Throws:
IOException
nextDouble
public double nextDouble()
throws IOException
- Throws:
IOException
nextLong
public long nextLong()
throws IOException
- Throws:
IOException
nextInt
public int nextInt()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
skipValue
public void skipValue()
throws IOException
- Throws:
IOException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2012. All Rights Reserved.