Package java.util.prefs
Interface PreferencesFactory
-
public interface PreferencesFactoryThis interface is used by thePreferencesclass as factory class to createPreferencesinstances. This interface can be implemented and installed to replace the default preferences implementation.- Since:
- 1.4
- See Also:
Preferences
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreferencessystemRoot()Returns the root node of the system preferences hierarchy.PreferencesuserRoot()Returns the root node of the preferences hierarchy for the calling user context.
-
-
-
Method Detail
-
userRoot
Preferences userRoot()
Returns the root node of the preferences hierarchy for the calling user context.- Returns:
- the user preferences hierarchy root node.
-
systemRoot
Preferences systemRoot()
Returns the root node of the system preferences hierarchy.- Returns:
- the system preferences hierarchy root node.
-
-