Interface for the preferences svc
PreferencesSvc
Method Summary |
public void |
|
public boolean |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public boolean |
|
public int |
Method Detail |
public void duplicatePreferences(Helper function to create a copy of a preference tree.PreferencesoldPrefs,PreferencesnewPrefs)
throwsBackingStoreException
BackingStoreException
public boolean equals(Compares two preference trees to see if they are equalPreferencesp1,Preferencesp2)
publicConstructs a preference package to wrap a preference node.PreferencesSvc.IPreferencePkggetPreferencesPackage(Preferencesprefs,ResourceSvc.IResourcePkgres)
Related Topics
IPreferencePkg
publicConstructs a preference package to wrap a preference node. The preference node will be fetched from the system preferences section of the source usingPreferencesSvc.IPreferencePkggetSystemPreferences(IPreferencesSupportps,Classc,Strings)
IPreferencesSupport.systemNodeForPackage(Class).
ResourceSvc.IResourcePkg object from the
ResourceSvc that defines the default values for the preference node. Related Topics
IPreferencePkg
publicConstructs a preference package to wrap a preference node. The preference node will be fetched from the system preferences section of the source usingPreferencesSvc.IPreferencePkggetSystemPreferences(IPreferencesSupportps,Classc)
IPreferencesSupport.systemNodeForPackage(Class).
ResourceSvc.IResourcePkg object
for the default values. The class name will be prepended with "default." to obtain the string
to pass to ResourceSvc.I
Related Topics
IPreferencePkg
IPreferencesSupport
publicConstructs a preference package to wrap a preference node. The preference node will be fetched from the user preferences section of the source usingPreferencesSvc.IPreferencePkggetUserPreferences(IPreferencesSupportps,Classc,Strings)
IPreferencesSupport.userNodeForPackage(Class).
ResourceSvc.IResourcePkg object from the
ResourceSvc that defines the default values for the preference node. Related Topics
IPreferencePkg
publicConstructs a preference package to wrap a preference node. The preference node will be fetched from the user preferences section of the source usingPreferencesSvc.IPreferencePkggetUserPreferences(IPreferencesSupportps,Classc)
IPreferencesSupport.userNodeForPackage(Class).
ResourceSvc.IResourcePkg object
for the default values. The class name will be prepended with "default." to obtain the string
to pass to ResourceSvc.I
Related Topics
IPreferencePkg
IPreferencesSupport
DEPRECATED
publicConstructs a preference package to wrap a preference node. This version provides no defaults support. This version is deprecated, please usePreferencesSvc.IPreferencePkggetUserPreferences(Preferencesprefs)
PreferencesSvc.I.getPreferencesPackage(Preferences, ResourceSvc.IResourcePkg) and
pass null for the res parameter.
Related Topics
IPreferencePkg
DEPRECATED
publicConstructs a preference package to wrap a preference node. This version provides no defaults support. This version is deprecated, please usePreferencesSvc.IPreferencePkggetUserPreferences(IPreferencesSupportps,Preferencesprefs)
PreferencesSvc.I.getPreferencesPackage(Preferences, ResourceSvc.IResourcePkg) and
pass null for the res parameter.
Related Topics
IPreferencePkg
public boolean nodeExists(Helper function that tests whether a node with the given key exists in the supplied preference tree.Preferencesprefs,Stringkey)
public int parseInt(String value)
Helper function to parse integers. This takes care of looking for 0x or # to indicate a hexadecimal
number. Strings beginning with any other characters are considered to be decimal
Integer.parseInt(String)