java.io.Externalizable |
Defines an interface for classes that want to be serializable, but have their own binary representation.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Reads the next object from the ObjectInput
input .
| |||||||||||
Writes the receiver to the ObjectOutput
output .
|
Reads the next object from the ObjectInput input
.
input | the ObjectInput from which the next object is read. |
---|
IOException | if an error occurs attempting to read from input . |
---|---|
ClassNotFoundException | if the class of the instance being loaded cannot be found. |
Writes the receiver to the ObjectOutput output
.
output | the ObjectOutput to write the object to. |
---|
IOException | if an error occurs attempting to write to output .
|
---|