|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Externalizable
Defines methods for serializing and de-serializing classes.
Note that classes implementing the Externalizable interface are required to provide a default constructor without any parameters. This is turn means that no final instance fields are allowed.
Copyright Enough Software 2006 - 2008
history
13-Mar-2006 - rob creation
Storage,
RmsStorage| Method Summary | |
|---|---|
void |
read(java.io.DataInputStream in)
Restores the internal instance fields from the given input stream. |
void |
write(java.io.DataOutputStream out)
Stores the internal instance fields to the output stream. |
| Method Detail |
|---|
void write(java.io.DataOutputStream out)
throws java.io.IOException
out - the output stream to which instance fields should be written
java.io.IOException - when writing fails
void read(java.io.DataInputStream in)
throws java.io.IOException
in - the input stream from which the data is loaded
java.io.IOException - when reading fails
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||