Uses of Package java.util.prefs (Java Platform SE 8 )
Date: 2026-04-17

# Uses of Package
java.util.prefs

- Packages that use java.util.prefs
  Package | Description
  --- | ---
  java.util.prefs | This package allows applications to store and retrieve user and system preference and configuration data.

- Classes in java.util.prefs used by java.util.prefs
  Class and Description
  AbstractPreferences This class provides a skeletal implementation of the `Preferences` class, greatly easing the task of implementing it.
  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.
  NodeChangeEvent An event emitted by a `Preferences` node to indicate that a child of that node has been added or removed.
  NodeChangeListener A listener for receiving preference node change events.
  PreferenceChangeEvent An event emitted by a `Preferences` node to indicate that a preference has been added, removed or has had its value changed.
  PreferenceChangeListener A listener for receiving preference change events.
  Preferences A node in a hierarchical collection of preference data.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.