|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectPreferencesX
public class PreferencesX
Preferences utilities.
Method Summary | |
---|---|
static Preferences |
childNodeForClass(Preferences parent,
Class<?> c)
Returns the child node that is associated (by convention) with the specified class. |
static Preferences |
userNodeForClass(Class<?> c)
Returns the preference node from the calling user's preference tree that is associated (by convention) with the specified class. |
static Preferences |
userNodeForClass(Class<?> c,
boolean allowDummyPreferences)
Returns the preference node from the calling user's preference tree that is associated (by convention) with the specified class. |
static Preferences |
userNodeForPackage(Class<?> c,
boolean allowDummyPreferences)
Returns the preference node from the calling user's preference tree that is associated (by convention) with the specified class's package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Preferences childNodeForClass(Preferences parent, Class<?> c)
public static Preferences userNodeForClass(Class<?> c)
public static Preferences userNodeForClass(Class<?> c, boolean allowDummyPreferences)
allowDummyPreferences
- if true, and if a security exception prevents access
to the requested preferences node,
then a Preferences0 node is returned insteadpublic static Preferences userNodeForPackage(Class<?> c, boolean allowDummyPreferences)
allowDummyPreferences
- if true, and if a security exception prevents access
to the requested preferences node,
then a Preferences0 node is returned instead
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |