JavaTM 2 Platform
Std. Ed. v1.4.0

Package java.util.prefs

This package allows applications to store and retrieve user and system preference and configuration data.

See:
          Description

Interface Summary
NodeChangeListener A listener for receiving preference node change events.
PreferenceChangeListener A listener for receiving preference change events.
PreferencesFactory A factory object that generates Preferences objects.
 

Class Summary
AbstractPreferences This class provides a skeletal implementation of the Preferences class, greatly easing the task of implementing it.
NodeChangeEvent An event emitted by a Preferences node to indicate that a child of that node has been added or removed.
PreferenceChangeEvent An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed.
Preferences A node in a hierarchical collection of preference data.
 

Exception Summary
BackingStoreException Thrown to indicate that a preferences operation could not complete because of a failure in the backing store, or a failure to contact the backing store.
InvalidPreferencesFormatException Thrown to indicate that an operation could not complete because the input did not conform to the appropriate XML document type for a collection of preferences, as per the Preferences specification.
 

Package java.util.prefs Description

This package allows applications to store and retrieve user and system preference and configuration data. This data is stored persistently in an implementation-dependent backing store. There are two separate trees of preference nodes, one for user preferences and one for system preferences.

Since:
JDK1.4

JavaTM 2 Platform
Std. Ed. v1.4.0

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.