|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSerializable
DataSerializable is a serialization method as an alternative to standard Java serialization.
DataSerializable is very similar to Externalizable
and relies on reflection to create
instances using classnames.
IdentifiedDataSerializable
,
Portable
,
VersionedPortable
Method Summary | |
---|---|
void |
readData(ObjectDataInput in)
Reads fields from the input stream |
void |
writeData(ObjectDataOutput out)
Writes object fields to output stream |
Method Detail |
---|
void writeData(ObjectDataOutput out) throws IOException
out
- output
IOException
void readData(ObjectDataInput in) throws IOException
in
- input
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |