Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in 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 ()

Added in API level 1

Returns the root node of the system preferences hierarchy.

Returns
  • the system preferences hierarchy root node.

public abstract Preferences userRoot ()

Added in API level 1

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

Returns
  • the user preferences hierarchy root node.