Package java.util.prefs

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

See: Description

  • Interface Summary 
    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 Summary 
    Class Description
    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 
    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 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

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/util/prefs/package-summary.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut