Package java.util.prefs
Interface PreferencesFactory
public interface PreferencesFactory
This interface is used by the
Preferences class as factory class to
create Preferences instances. This interface can be implemented and
installed to replace the default preferences implementation.- Since:
- 1.4
- See Also:
Preferences
-
Method Summary
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 Details
-
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.
-