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
This is used by the Configuration class to write/read to/from a
stream the state configuration. Should not be used outside
the preferences package. The resulting stream (in case of writing)
is compatible with the local file system and thus editable.
A configuration file is of the form:
#field_name1 value1
#field_name2 value2
etc...
This is used by the Configuration class and should not be used
from the outside.
- Version:
- $Revision: 1.4 $ $Date: 1997/04/09 14:02:18 $
- Author:
- Louis Salvail
-
ConfigStream()
- This should never be called.
-
readObject(DataInputStream)
- Internalizes configuration.
-
writeObject(DataOutputStream)
- Externalizes configuration.
ConfigStream
public ConfigStream() throws ConfigurationException
- This should never be called. Everything in that class is
static.
- Throws: ConfigurationException
- when this constructor is called.
readObject
public static void readObject(DataInputStream stream) throws StreamIOException
- Internalizes configuration. Read a stream to set the configuration manager.
- Parameters:
- stream - is the stream of data the object state is retrieved from
- Returns:
- none.
- See Also:
- Streamable
writeObject
public static void writeObject(DataOutputStream stream) throws StreamIOException
- Externalizes configuration. Put into a stream the actual state of the
Configuration manager. The format is comptatible with the local readable files
system.
- 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