类 DefaultDeserializer
java.lang.Object
cn.taketoday.core.serializer.DefaultDeserializer
- 所有已实现的接口:
Deserializer<Object>
A default
Deserializer implementation that reads an input stream
using Java serialization.- 从以下版本开始:
- 4.0
- 作者:
- Gary Russell, Mark Fisher, Juergen Hoeller
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明Create aDefaultDeserializerwith defaultObjectInputStreamconfiguration, using the "latest user-defined ClassLoader".DefaultDeserializer(ClassLoader classLoader) -
方法概要
修饰符和类型方法说明deserialize(InputStream inputStream) Read from the suppliedInputStreamand deserialize the contents into an object.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.core.serializer.Deserializer
deserializeFromByteArray
-
字段详细资料
-
classLoader
-
-
构造器详细资料
-
DefaultDeserializer
public DefaultDeserializer()Create aDefaultDeserializerwith defaultObjectInputStreamconfiguration, using the "latest user-defined ClassLoader". -
DefaultDeserializer
-
-
方法详细资料
-
deserialize
Read from the suppliedInputStreamand deserialize the contents into an object.- 指定者:
deserialize在接口中Deserializer<Object>- 参数:
inputStream- the input stream- 返回:
- the deserialized object
- 抛出:
IOException- in case of errors reading from the stream- 另请参阅:
-