java.io.Externalizable
Objects that want to be serialized/deserialized using
ObjectOutputStream/ObjectInputStream but defining their own byte
representation should implement this interface.
Summary
Details
Public Methods
public
void
readExternal(ObjectInput input)
Reads the next object from the ObjectInput
input
Parameters
input
| the ObjectInput from which the next object is read |
public
void
writeExternal(ObjectOutput output)
Writes the receiver to the ObjectOutput
output
.
Parameters
output
| an ObjectOutput where to write the object |
Throws
IOException
| If an error occurs attempting to write to the ObjectOutput.
|