to top
Android APIs
Since: API Level 1
public interface

PreferencesFactory

java.util.prefs.PreferencesFactory

Class Overview

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

public abstract Preferences systemRoot ()

Since: API Level 1

Returns the root node of the system preferences hierarchy.

Returns
  • the system preferences hierarchy root node.

public abstract Preferences userRoot ()

Since: API Level 1

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

Returns
  • the user preferences hierarchy root node.