Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PreferencesFactory

public interface PreferencesFactory

java.util.prefs.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.

See also:

Summary

Public methods

abstract Preferences systemRoot()

Returns the root node of the system preferences hierarchy.

abstract Preferences userRoot()

Returns the root node of the preferences hierarchy for the calling user context.

Public methods

systemRoot

Added in API level 1
Preferences systemRoot ()

Returns the root node of the system preferences hierarchy.

Returns
Preferences the system preferences hierarchy root node.

userRoot

Added in API level 1
Preferences userRoot ()

Returns the root node of the preferences hierarchy for the calling user context.

Returns
Preferences the user preferences hierarchy root node.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.