Package java.util.prefs
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:
- 1.4
| Interface | Description |
|---|---|
| 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 | Description |
|---|---|
| AbstractPreferences | This class provides a skeletal implementation of the |
| NodeChangeEvent | An event emitted by a |
| PreferenceChangeEvent | An event emitted by a |
| Preferences | A node in a hierarchical collection of preference data. |
| Exception | Description |
|---|---|
| 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 |