public interface Serializer
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(byte[] serialized)
Deserialize the content of an object from a byte array.
|
byte[] |
serialize(java.lang.Object obj)
Serialize the content of an object into a byte array.
|
byte[] serialize(java.lang.Object obj) throws java.io.IOException
obj
- Object to serializejava.io.IOException
java.lang.Object deserialize(byte[] serialized) throws java.io.IOException
serialized
- Byte array representation of the objectjava.io.IOException
Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net