public final class NbPreferences extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
NbPreferences.Provider
Implementation of
NbPreferences methods. |
Modifier and Type | Method and Description |
---|---|
static Preferences |
forModule(Class cls)
Returns user preference node .
|
static Preferences |
root()
Returns the root preference node.
|
public static Preferences forModule(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.public static Preferences root()