|
org.openide.util 7.9.0 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openide.util.NbPreferences
public final class NbPreferences
Provides an implementation of the Preferences API which may be backed by a NetBeans-specific implementation.
Method Summary | |
---|---|
static Preferences |
forModule(Class cls)
Returns user preference node . |
static Preferences |
root()
Returns the root preference node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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()
|
org.openide.util 7.9.0 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |