net.sf.j3d.io
Interface Storable
public interface Storable
An implementation of the Storable interface provides a way to persist the state of
an instance. The implementing class must provide a store method that accepts an
OutputStream. The implementing class should provide some obvious way to load the
state of a stored instance (usually by a static method or constructor).
- Author:
- Mike Murray
|
Method Summary |
boolean |
store(OutputStream out)
Persist the contents of this Storable instance. |
store
boolean store(OutputStream out)
- Persist the contents of this Storable instance.
- Parameters:
out - Stream to write contents to.
- Returns:
- True if succesfully stored, false otherwise.