|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Externalizable
Objects that want to be serialized/deserialized using ObjectOutputStream/ObjectInputStream but defining their own byte representation should implement this interface.
| Method Summary | |
|---|---|
void |
readExternal(ObjectInput input)
Reads the next object from the ObjectInput input |
void |
writeExternal(ObjectOutput output)
Writes the receiver to the ObjectOutput output. |
| Method Detail |
|---|
void readExternal(ObjectInput input)
throws IOException,
ClassNotFoundException
input
input - the ObjectInput from which the next object is read
IOException - If an error occurs attempting to read from this ObjectInput.
ClassNotFoundException - If the class of the instance being loaded cannot be found
void writeExternal(ObjectOutput output)
throws IOException
output.
output - an ObjectOutput where to write the object
IOException - If an error occurs attempting to write to the ObjectOutput.
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||