|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Serializer
Interface used to provide a serialization mechanism other than a class' normal serialization.
Method Summary | |
---|---|
Object |
deserialize(byte[] serialized)
Deserialize the content of an object from a byte array. |
byte[] |
serialize(Object obj)
Serialize the content of an object into a byte array. |
Method Detail |
---|
byte[] serialize(Object obj) throws IOException
obj
- Object to serialize
IOException
Object deserialize(byte[] serialized) throws IOException
serialized
- Byte array representation of the object
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |