接口 Deserializer
-
- 所有已知实现类:
AbstractDeserializer
,AbstractListDeserializer
,AbstractMapDeserializer
,ArrayDeserializer
,BasicDeserializer
,BeanDeserializer
,BigIntegerDeserializer
,ClassDeserializer
,CollectionDeserializer
,EnumDeserializer
,EnumerationDeserializer
,InputStreamDeserializer
,JavaDeserializer
,MapDeserializer
,ObjectDeserializer
,SqlDateDeserializer
,StackTraceElementDeserializer
,StringValueDeserializer
,UUIDDeserializer
,ValueDeserializer
public interface Deserializer
Deserializing an object.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 Class
getType()
Object
readLengthList(AbstractHessianInput in, int length)
Object
readLengthList(AbstractHessianInput in, int length, Class<?> expectType)
deserialize list object from expect type.Object
readList(AbstractHessianInput in, int length)
Object
readList(AbstractHessianInput in, int length, Class<?> expectType)
deserialize list object from expect type.Object
readMap(AbstractHessianInput in)
Object
readMap(AbstractHessianInput in, Class<?> expectKeyType, Class<?> expectValueType)
deserialize map object from expect key and value type.Object
readObject(AbstractHessianInput in)
Object
readObject(AbstractHessianInput in, String[] fieldNames)
-
-
-
方法详细资料
-
getType
Class getType()
-
readObject
Object readObject(AbstractHessianInput in) throws IOException
- 抛出:
IOException
-
readList
Object readList(AbstractHessianInput in, int length) throws IOException
- 抛出:
IOException
-
readList
Object readList(AbstractHessianInput in, int length, Class<?> expectType) throws IOException
deserialize list object from expect type.- 参数:
in
-length
-expectType
-- 返回:
- 抛出:
IOException
-
readLengthList
Object readLengthList(AbstractHessianInput in, int length) throws IOException
- 抛出:
IOException
-
readLengthList
Object readLengthList(AbstractHessianInput in, int length, Class<?> expectType) throws IOException
deserialize list object from expect type.- 参数:
in
-length
-expectType
-- 返回:
- 抛出:
IOException
-
readMap
Object readMap(AbstractHessianInput in) throws IOException
- 抛出:
IOException
-
readMap
Object readMap(AbstractHessianInput in, Class<?> expectKeyType, Class<?> expectValueType) throws IOException
deserialize map object from expect key and value type.- 参数:
in
-expectKeyType
-expectValueType
-- 返回:
- 抛出:
IOException
-
readObject
Object readObject(AbstractHessianInput in, String[] fieldNames) throws IOException
- 抛出:
IOException
-
-