GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Overview
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
  • Prev Package
  • Next Package
  • Frames
  • No Frames
  • All Classes
  • NodeChangeListener
  • PreferenceChangeListener
  • PreferencesFactory

This view

  • Original page
  • New address

GeezerVison is showing docs.oracle.com — java.util.prefs (Java Platform SE 8 )

Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev Package
  • Next Package
  • Frames
  • No Frames
  • All Classes

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
Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help
Java™ Platform
Standard Ed. 8
  • Prev Package
  • Next Package
  • Frames
  • No Frames
  • All Classes

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.

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.