Class semper.preferences.ConfigStream
All Packages Class Hierarchy This Package Previous Next Index
Class semper.preferences.ConfigStream
java.lang.Object
|
+----semper.preferences.ConfigStream
- public class ConfigStream
- extends Object
- implements Streamable
-
ConfigStream()
- Constructor.
-
myStreamSize()
- Returns the size of the stream that would hold the externalized form of the configuration data.
-
readObject(StreamInputInterface)
- Internalizes configuration.
-
writeObject(StreamOutputInterface)
- Externalizes configuration.
ConfigStream
public ConfigStream()
- Constructor. Does nothing. Used by newInstance().
- Returns:
- a new empty object.
- See Also:
- Streamable
myStreamSize
public int myStreamSize() throws StreamIOException
- Returns the size of the stream that would hold the externalized form of the configuration data.
- Returns:
- the size of the stream in bytes
- See Also:
- Streamable
readObject
public void readObject(StreamInputInterface stream) throws StreamIOException
- Internalizes configuration.
- Parameters:
- stream - is the stream of data the object state is retrieved from
- Returns:
- none.
- See Also:
- Streamable
writeObject
public void writeObject(StreamOutputInterface stream) throws StreamIOException
- Externalizes configuration.
- Parameters:
- stream - is the stream of data the object state is recorded in
- Returns:
- none
- See Also:
- Streamable
All Packages Class Hierarchy This Package Previous Next Index