Uses of Class
java.util.prefs.Preferences
| Package | Description |
|---|---|
| java.util.prefs |
-
Uses of Preferences in java.util.prefs
Subclasses of Preferences in java.util.prefs Modifier and Type Class Description classAbstractPreferencesThis abstract class is a partial implementation of the abstract class Preferences, which can be used to simplifyPreferencesprovider's implementation.Methods in java.util.prefs that return Preferences Modifier and Type Method Description PreferencesNodeChangeEvent. getChild()Gets the childPreferencesnode that was added or removed.PreferencesPreferenceChangeEvent. getNode()Gets thePreferencesinstance that fired this event.PreferencesNodeChangeEvent. getParent()Gets thePreferencesinstance that fired this event.PreferencesAbstractPreferences. node(String name)abstract PreferencesPreferences. node(String path)Returns the preference node with the given path name.PreferencesAbstractPreferences. parent()abstract PreferencesPreferences. parent()Returns the parent preference node of this node ornullif this node is the root node.static PreferencesPreferences. systemNodeForPackage(Class<?> c)Returns the system preference node for the package of the given class.static PreferencesPreferences. systemRoot()Returns the root node of the system preference hierarchy.PreferencesPreferencesFactory. systemRoot()Returns the root node of the system preferences hierarchy.static PreferencesPreferences. userNodeForPackage(Class<?> c)Returns the user preference node for the package of the given class.static PreferencesPreferences. userRoot()Returns the root node of the user preference hierarchy.PreferencesPreferencesFactory. userRoot()Returns the root node of the preferences hierarchy for the calling user context.Constructors in java.util.prefs with parameters of type Preferences Constructor Description NodeChangeEvent(Preferences p, Preferences c)Constructs a newNodeChangeEventinstance.PreferenceChangeEvent(Preferences p, String k, String v)Construct a newPreferenceChangeEventinstance.