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.IOExceptionpublic java.lang.Object readObject(java.lang.String type)
throws java.io.IOException
java.io.IOExceptionpublic long readLong()
throws java.io.IOException
java.io.IOExceptionpublic double readDouble()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String readString()
throws java.io.IOException
java.io.IOExceptionpublic boolean startPacket()
throws java.io.IOException
java.io.IOExceptionpublic void endPacket()
throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object