类 FastJsonObjectInput
- java.lang.Object
-
- org.apache.dubbo.common.serialize.fastjson.FastJsonObjectInput
-
- 所有已实现的接口:
DataInput,ObjectInput
public class FastJsonObjectInput extends Object implements ObjectInput
FastJson object input implementation
-
-
构造器概要
构造器 构造器 说明 FastJsonObjectInput(InputStream in)FastJsonObjectInput(Reader reader)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanreadBool()bytereadByte()byte[]readBytes()doublereadDouble()floatreadFloat()intreadInt()longreadLong()ObjectreadObject()<T> TreadObject(Class<T> cls)<T> TreadObject(Class<T> cls, Type type)shortreadShort()StringreadUTF()-
从接口继承的方法 org.apache.dubbo.common.serialize.ObjectInput
readAttachments, readEvent, readThrowable
-
-
-
-
构造器详细资料
-
FastJsonObjectInput
public FastJsonObjectInput(InputStream in)
-
FastJsonObjectInput
public FastJsonObjectInput(Reader reader)
-
-
方法详细资料
-
readBool
public boolean readBool() throws IOException- 指定者:
readBool在接口中DataInput- 抛出:
IOException
-
readByte
public byte readByte() throws IOException- 指定者:
readByte在接口中DataInput- 抛出:
IOException
-
readShort
public short readShort() throws IOException- 指定者:
readShort在接口中DataInput- 抛出:
IOException
-
readInt
public int readInt() throws IOException- 指定者:
readInt在接口中DataInput- 抛出:
IOException
-
readLong
public long readLong() throws IOException- 指定者:
readLong在接口中DataInput- 抛出:
IOException
-
readFloat
public float readFloat() throws IOException- 指定者:
readFloat在接口中DataInput- 抛出:
IOException
-
readDouble
public double readDouble() throws IOException- 指定者:
readDouble在接口中DataInput- 抛出:
IOException
-
readUTF
public String readUTF() throws IOException
- 指定者:
readUTF在接口中DataInput- 抛出:
IOException
-
readBytes
public byte[] readBytes() throws IOException- 指定者:
readBytes在接口中DataInput- 抛出:
IOException
-
readObject
public Object readObject() throws IOException, ClassNotFoundException
- 指定者:
readObject在接口中ObjectInput- 抛出:
IOExceptionClassNotFoundException
-
readObject
public <T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
- 指定者:
readObject在接口中ObjectInput- 抛出:
IOExceptionClassNotFoundException
-
readObject
public <T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
- 指定者:
readObject在接口中ObjectInput- 抛出:
IOExceptionClassNotFoundException
-
-