Class semper.preferences.PrefStream
All Packages Class Hierarchy This Package Previous Next Index
Class semper.preferences.PrefStream
java.lang.Object
|
+----semper.preferences.PrefStream
- public class PrefStream
- extends Object
- implements Streamable
-
PrefStream()
- Constructor.
-
myStreamSize()
- Returns the size of the stream that would hold the externalized form of this field.
-
readObject(StreamInputInterface)
- Internalizes this field.
-
writeObject(StreamOutputInterface)
- Externalizes this field.
PrefStream
public PrefStream()
- Constructor. Does nothing. Used by Preferences manager and 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 this field.
- Returns:
- the size of the stream in bytes
- See Also:
- Streamable
readObject
public void readObject(StreamInputInterface stream) throws StreamIOException
- Internalizes this field.
- 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 this field.
- 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