类 FstObjectInput
- java.lang.Object
-
- com.alibaba.dubbo.common.serialize.fst.FstObjectInput
-
- 所有已实现的接口:
DataInput
,ObjectInput
public class FstObjectInput extends Object implements ObjectInput
-
-
构造器概要
构造器 构造器 说明 FstObjectInput(InputStream inputStream)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 boolean
readBool()
Read boolean.byte
readByte()
Read byte.byte[]
readBytes()
Read byte array.double
readDouble()
Read double.float
readFloat()
Read float.int
readInt()
Read integer.long
readLong()
Read long.Object
readObject()
read object.<T> T
readObject(Class<T> clazz)
read object.<T> T
readObject(Class<T> clazz, Type type)
read object.short
readShort()
Read short integer.String
readUTF()
Read UTF-8 string.
-
-
-
构造器详细资料
-
FstObjectInput
public FstObjectInput(InputStream inputStream)
-
-
方法详细资料
-
readBool
public boolean readBool() throws IOException
从接口复制的说明:DataInput
Read boolean.- 指定者:
readBool
在接口中DataInput
- 返回:
- boolean.
- 抛出:
IOException
-
readByte
public byte readByte() throws IOException
从接口复制的说明:DataInput
Read byte.- 指定者:
readByte
在接口中DataInput
- 返回:
- byte value.
- 抛出:
IOException
-
readShort
public short readShort() throws IOException
从接口复制的说明:DataInput
Read short integer.- 指定者:
readShort
在接口中DataInput
- 返回:
- short.
- 抛出:
IOException
-
readInt
public int readInt() throws IOException
从接口复制的说明:DataInput
Read integer.- 指定者:
readInt
在接口中DataInput
- 返回:
- integer.
- 抛出:
IOException
-
readLong
public long readLong() throws IOException
从接口复制的说明:DataInput
Read long.- 指定者:
readLong
在接口中DataInput
- 返回:
- long.
- 抛出:
IOException
-
readFloat
public float readFloat() throws IOException
从接口复制的说明:DataInput
Read float.- 指定者:
readFloat
在接口中DataInput
- 返回:
- float.
- 抛出:
IOException
-
readDouble
public double readDouble() throws IOException
从接口复制的说明:DataInput
Read double.- 指定者:
readDouble
在接口中DataInput
- 返回:
- double.
- 抛出:
IOException
-
readBytes
public byte[] readBytes() throws IOException
从接口复制的说明:DataInput
Read byte array.- 指定者:
readBytes
在接口中DataInput
- 返回:
- byte array.
- 抛出:
IOException
-
readUTF
public String readUTF() throws IOException
从接口复制的说明:DataInput
Read UTF-8 string.- 指定者:
readUTF
在接口中DataInput
- 返回:
- string.
- 抛出:
IOException
-
readObject
public Object readObject() throws IOException, ClassNotFoundException
从接口复制的说明:ObjectInput
read object.- 指定者:
readObject
在接口中ObjectInput
- 返回:
- object.
- 抛出:
IOException
ClassNotFoundException
-
readObject
public <T> T readObject(Class<T> clazz) throws IOException, ClassNotFoundException
从接口复制的说明:ObjectInput
read object.- 指定者:
readObject
在接口中ObjectInput
- 参数:
clazz
- object type.- 返回:
- object.
- 抛出:
IOException
ClassNotFoundException
-
readObject
public <T> T readObject(Class<T> clazz, Type type) throws IOException, ClassNotFoundException
从接口复制的说明:ObjectInput
read object.- 指定者:
readObject
在接口中ObjectInput
- 参数:
clazz
- object type.- 返回:
- object.
- 抛出:
IOException
ClassNotFoundException
-
-