public class JsonInput2
extends java.lang.Object
Constructor and Description |
---|
JsonInput2() |
JsonInput2(java.io.InputStream is) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
endPacket() |
void |
init(java.io.InputStream is)
Initialize the output with a new underlying stream.
|
double |
readDouble() |
long |
readLong() |
JsonValue |
readObject() |
java.lang.Object |
readObject(java.lang.String type) |
java.lang.String |
readString() |
boolean |
startPacket() |
java.lang.String |
toString() |
public JsonInput2()
public JsonInput2(java.io.InputStream is)
public void init(java.io.InputStream is)
public JsonValue readObject() throws java.io.IOException
java.io.IOException
public java.lang.Object readObject(java.lang.String type) throws java.io.IOException
java.io.IOException
public long readLong() throws java.io.IOException
java.io.IOException
public double readDouble() throws java.io.IOException
java.io.IOException
public java.lang.String readString() throws java.io.IOException
java.io.IOException
public boolean startPacket() throws java.io.IOException
java.io.IOException
public void endPacket() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object