Example usage for Java java.io Externalizable fields, constructors, methods, implement or subclass
The text is from its open source code.
Class> | getClass() Returns the runtime class of this Object . |
void | readExternal(ObjectInput in) The object implements the readExternal method to restore its contents by calling the methods of DataInput for primitive types and readObject for objects, strings and arrays. |
void | writeExternal(ObjectOutput out) The object implements the writeExternal method to save its contents by calling the methods of DataOutput for its primitive values or calling the writeObject method of ObjectOutput for objects, strings, and arrays. |