Class Overview
Defines an interface for classes that want to be serializable, but have their
own binary representation.
Public Methods
public
abstract
void
readExternal
(ObjectInput input)
Reads the next object from the ObjectInput input.
Parameters
| input
| the ObjectInput from which the next object is read. |
public
abstract
void
writeExternal
(ObjectOutput output)
Writes the receiver to the ObjectOutput output.
Parameters
| output
| the ObjectOutput to write the object to. |
Throws
| IOException
| if an error occurs attempting to write to output.
|