public class FastJsonObjectInput extends Object implements ObjectInput
| Constructor and Description |
|---|
FastJsonObjectInput(InputStream in) |
FastJsonObjectInput(Reader reader) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
readBool() |
byte |
readByte() |
byte[] |
readBytes() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
Object |
readObject() |
<T> T |
readObject(Class<T> cls) |
<T> T |
readObject(Class<T> cls,
Type type) |
short |
readShort() |
String |
readUTF() |
public FastJsonObjectInput(InputStream in)
public FastJsonObjectInput(Reader reader)
public boolean readBool()
throws IOException
readBool in interface DataInputIOExceptionpublic byte readByte()
throws IOException
readByte in interface DataInputIOExceptionpublic short readShort()
throws IOException
readShort in interface DataInputIOExceptionpublic int readInt()
throws IOException
readInt in interface DataInputIOExceptionpublic long readLong()
throws IOException
readLong in interface DataInputIOExceptionpublic float readFloat()
throws IOException
readFloat in interface DataInputIOExceptionpublic double readDouble()
throws IOException
readDouble in interface DataInputIOExceptionpublic String readUTF() throws IOException
readUTF in interface DataInputIOExceptionpublic byte[] readBytes()
throws IOException
readBytes in interface DataInputIOExceptionpublic Object readObject() throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionpublic <T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionpublic <T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
readObject in interface ObjectInputIOExceptionClassNotFoundExceptionCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.