public interface Serializer
Modifier and Type | Method and Description |
---|---|
void |
deserialize(SerializationStreamReader stream,
Object instance,
String typeSignature)
Restore an instantiated object from the serialized stream.
|
String |
getSerializationSignature(Class<?> clazz)
Return the serialization signature for the given type.
|
Object |
instantiate(SerializationStreamReader stream,
String typeSignature)
Instantiate an object of the given typeName from the serialized stream.
|
void |
serialize(SerializationStreamWriter stream,
Object instance,
String typeSignature)
Save an instance into the serialization stream.
|
void deserialize(SerializationStreamReader stream, Object instance, String typeSignature) throws SerializationException
SerializationException
String getSerializationSignature(Class<?> clazz)
Object instantiate(SerializationStreamReader stream, String typeSignature) throws SerializationException
SerializationException
void serialize(SerializationStreamWriter stream, Object instance, String typeSignature) throws SerializationException
SerializationException
Copyright © 2018. All rights reserved.