public class FilePreferencesFactory extends Object implements PreferencesFactory
The effective backing stores will only be created after the invocation of systemRoot() or userRoot()
For a user preference:
| Constructor and Description |
|---|
FilePreferencesFactory(File userFile) |
| Modifier and Type | Method and Description |
|---|---|
File |
getFile()
Return the File used for the factory.
|
Preferences |
systemRoot()
Always return null.
|
Preferences |
userRoot()
Returns the user root preference node corresponding to the calling
user (Multiple calls on this method will return the same object reference).
|
NetworkPreferences |
userRootAsNetwork()
A Convenience method that return the same object as
userRoot(). |
public FilePreferencesFactory(File userFile)
public File getFile()
public Preferences systemRoot()
systemRoot in interface PreferencesFactorypublic Preferences userRoot()
userRoot in interface PreferencesFactorypublic NetworkPreferences userRootAsNetwork()
userRoot().