|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jdbm.helper.DefaultSerializer
public class DefaultSerializer
Default java serializer.
Field Summary | |
---|---|
static DefaultSerializer |
INSTANCE
|
Constructor Summary | |
---|---|
DefaultSerializer()
Construct a DefaultSerializer. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final DefaultSerializer INSTANCE
Constructor Detail |
---|
public DefaultSerializer()
Method Detail |
---|
public byte[] serialize(java.lang.Object obj) throws java.io.IOException
serialize
in interface Serializer
obj
- Object to serialize
java.io.IOException
public java.lang.Object deserialize(byte[] serialized) throws java.io.IOException
deserialize
in interface Serializer
serialized
- Byte array representation of the object
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |