public static interface NbPreferences.Provider
NbPreferences
methods.
Not intended for use outside the NetBeans Platform.Modifier and Type | Method and Description |
---|---|
Preferences |
preferencesForModule(Class cls)
Returns user preference node.
|
Preferences |
preferencesRoot()
Returns the root preference node.
|
Preferences preferencesForModule(Class cls)
Preferences.absolutePath()
of such
a node depends whether class provided as a parameter was loaded as a part of any module
or not. If so, then absolute path corresponds to slashified code name base of module.
If not, then absolute path corresponds to class's package.cls
- the class for which a user preference node is desired.Preferences preferencesRoot()