Stay organized with collections
Save and categorize content based on your preferences.
java.util.prefs
Interfaces
Classes
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.
|
Exceptions
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.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# java.util.prefs\n===============\n\nInterfaces\n----------\n\n|----------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [NodeChangeListener](/reference/kotlin/java/util/prefs/NodeChangeListener) | A listener for receiving preference node change events. |\n| [PreferenceChangeListener](/reference/kotlin/java/util/prefs/PreferenceChangeListener) | A listener for receiving preference change events. |\n| [PreferencesFactory](/reference/kotlin/java/util/prefs/PreferencesFactory) | A factory object that generates Preferences objects. |\n\nClasses\n-------\n\n|----------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AbstractPreferences](/reference/kotlin/java/util/prefs/AbstractPreferences) | This class provides a skeletal implementation of the [Preferences](/reference/kotlin/java/util/prefs/Preferences) class, greatly easing the task of implementing it. |\n| [NodeChangeEvent](/reference/kotlin/java/util/prefs/NodeChangeEvent) | An event emitted by a Preferences node to indicate that a child of that node has been added or removed. |\n| [PreferenceChangeEvent](/reference/kotlin/java/util/prefs/PreferenceChangeEvent) | An event emitted by a Preferences node to indicate that a preference has been added, removed or has had its value changed. |\n| [Preferences](/reference/kotlin/java/util/prefs/Preferences) | A node in a hierarchical collection of preference data. |\n\nExceptions\n----------\n\n|----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BackingStoreException](/reference/kotlin/java/util/prefs/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. |\n| [InvalidPreferencesFormatException](/reference/kotlin/java/util/prefs/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](/reference/kotlin/java/util/prefs/Preferences) specification. |"]]