java.util.prefs
Interface PreferencesFactory


public interface PreferencesFactory

Preferences system and user root factory interface. Defines how to get to the system and user root preferences objects. Should be implemented by new preferences backends.

Since:
1.4

Method Summary
 Preferences systemRoot()
          Returns the system root preferences node.
 Preferences userRoot()
          Returns the user root preferences node.
 

Method Detail

systemRoot

Preferences systemRoot()
Returns the system root preferences node. Should always return the same object.


userRoot

Preferences userRoot()
Returns the user root preferences node. May return different objects depending on the user that called this method. The user may for example be determined by the current Thread or the Subject associated with the current AccessControllContext.