| Home >> All >> java >> util >> [ prefs Javadoc ] |
java.util.prefs: Javadoc index of package java.util.prefs.
Package Samples:
java.util.prefs
Classes:
Preferences: Preference node containing key value entries and subnodes. There are two preference node trees, a system tree which can be accessed by calling systemRoot() containing system preferences usefull for all users, and a user tree that can be accessed by calling userRoot() containing preferences that can differ between different users. How different users are identified is implementation depended. It can be determined by Thread, Access Control Context or Subject. This implementation uses the "java.util.prefs.PreferencesFactory" system property to find a class that implement PreferencesFactory and initialized ...
PreferenceChangeEvent: ObjectEvent fired when a Preferences entry changes. This event is generated when a entry is added, changed or removed. When an entry is removed then getNewValue will return null. Preference change events are only generated for entries in one particular preference node. Notification of subnode addition/removal is given by a NodeChangeEvent . Note that although this class is marked as serializable, attempts to serialize it will fail with NotSerializableException.
BackingStoreException: Chained exception thrown when backing store fails. This exception is only thrown from methods that actually have to access the backing store, such as clear(), keys(), childrenNames(), nodeExists(), removeNode(), flush(), sync(), exportNode(), exportSubTree() ; normal operations do not throw BackingStoreExceptions. Note that although this class inherits the Serializable interface, an attempt to serialize will fail with a NotSerializableException .
NodeChangeEvent: ObjectEvent fired when a Preference node is added/removed. This event is only generated when a new subnode is added or a subnode is removed from a preference node. Changes in the entries of a preference node are indicated with a PreferenceChangeEvent . Note that although this class is marked as serializable, attempts to serialize it will fail with NotSerializableException.
InvalidPreferencesFormatException: Indicates reading prefs from stream failed. Thrown by the importPreferences() method when the supplied input stream could not be read because it was not in the correct XML format. Note that although this class inherits the Serializable interface, an attempt to serialize will fail with a NotSerializableException .
NodeChangeListener: EventListener for Preferences node addition/removal. Note that these events are only generated for the addition and removal of sub nodes from the preference node. Entry changes in the preference node can be monitored with a PreferenceChangeListener .
PreferenceChangeListener: EventListener for Preferences entry addition, change or removal. Preference change events are only generated for entries in one particular preference node. Notification of subnode addition/removal can be monitored with a NodeChangeListener .
PreferencesFactory: Preferences system and user root factory interface. Defines how to get to the system and user root preferences objects. Should be implemented by new preferences backends.
AbstractPreferences: Partial implementation of a Preference node.
| Home | Contact Us | Privacy Policy | Terms of Service |