Spec-Zone.ru › OpenJDK 27

Package java.util.prefs

package java.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
java.base
Module Package Description
java.util
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
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.
PreferencesFactory
A factory object that generates Preferences objects.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2026, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API