-
- All Implemented Interfaces:
public interface SerializableObjectOnly the identity of the class of an SerializableObject instance is written in the serialization stream and it is the responsibility of the class to save and restore the contents of its instances. The writeExternal and a single arg constructor of the SerializableObject interface are implemented by a class to give the class complete control over the format and contents of the stream for an object and its supertypes. These methods must explicitly coordinate with the supertype to save its state.
-
-
Method Summary
Modifier and Type Method Description abstract voidwriteExternal(DataOutput out)The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values. -
-
Method Detail
-
writeExternal
abstract void writeExternal(DataOutput out)
The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values.
-
-
-
-