|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ICompactSerializer<T>
Allows for the controlled serialization/deserialization of a given type.
Method Summary | |
---|---|
T |
deserialize(java.io.DataInputStream dis)
Deserialize into the specified DataInputStream instance. |
void |
serialize(T t,
java.io.DataOutputStream dos)
Serialize the specified type into the specified DataOutputStream instance. |
Method Detail |
---|
void serialize(T t, java.io.DataOutputStream dos) throws java.io.IOException
t
- type that needs to be serializeddos
- DataOutput into which serialization needs to happen.
java.io.IOException
T deserialize(java.io.DataInputStream dis) throws java.io.IOException
dis
- DataInput from which deserialization needs to happen.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |