All Packages Class Hierarchy This Package Previous Next Index
Interface CH.ifa.draw.util.Storable
- public interface interface Storable
Interface that is used by StorableInput and StorableOutput
to flatten and resurrect objects. Objects that implement
this interface and that are resurrected by StorableInput
have to provide a default constructor with no arguments.
- See Also:
- StorableInput, StorableOutput
-
read(StorableInput)
- Reads the object from the StorableInput.
-
write(StorableOutput)
- Writes the object to the StorableOutput.
write
public abstract void write(StorableOutput dw)
- Writes the object to the StorableOutput.
read
public abstract void read(StorableInput dr) throws IOException
- Reads the object from the StorableInput.
All Packages Class Hierarchy This Package Previous Next Index