Package java.util.prefs


packagejava.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
  • Related Packages
    Module
    Package
    Description
    Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
  • Class
    Description
    This class provides a skeletal implementation of thePreferences class, greatly easing the task of implementing it.
    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.
    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 thePreferences specification.
    An event emitted by aPreferences node to indicate that a child of that node has been added or removed.
    A listener for receiving preference node change events.
    An event emitted by aPreferences node to indicate that a preference has been added, removed or has had its value changed.
    A listener for receiving preference change events.
    A node in a hierarchical collection of preference data.
    A factory object that generates Preferences objects.