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 Serializable
This class is used by the Preferences class to produce a stream encoding the actual state of the preferences manager. This class is also used to retrieve the state of Preferences from a stream. This should not be used outside the Preferences manager directly.


Constructor Index

 o PrefStream()
Constructor.

Method Index

 o groupsRead()
Returns an enumeration of groupname read last time readObject has been called
 o groupsReadCount()
Gives the number of groups read.

Constructors

 o PrefStream
 public PrefStream()
Constructor. Used by Preferences manager and newInstance(). The new object is then used to write or read (from a stream) a Preferences manager state.

Returns:
a new empty object.
See Also:
Streamable

Methods

 o groupsRead
 protected Enumeration groupsRead()
Returns an enumeration of groupname read last time readObject has been called

Returns:
an enumeration of all groups.
 o groupsReadCount
 protected int groupsReadCount()
Gives the number of groups read.

Returns:
the number of groups.

All Packages  Class Hierarchy  This Package  Previous  Next  Index