|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbb.util.PreferencesUtil
public final class PreferencesUtil
Provides static utility methods for dealing with Preferences
.
This class is multithread safe: it is stateless.
Constructor Summary | |
---|---|
private |
PreferencesUtil()
This private constructor suppresses the default (public) constructor, ensuring non-instantiability. |
Method Summary | |
---|---|
static void |
main(String[] args)
Executes resetPreferences . |
static void |
resetPreferences()
Removes all Preferences nodes except for the system and user root nodes. |
private static void |
resetPreferences(Preferences root)
Since cannot remove a root node, this method instead removes all of root's children. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private PreferencesUtil()
Method Detail |
---|
public static void main(String[] args)
resetPreferences
.
public static void resetPreferences() throws Exception
Exception
private static void resetPreferences(Preferences root) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |