List of utility methods to do Preference Remove
void | removeAll(Preferences prefs, boolean deep) Traverse a preference node and optionally all children nodes and remove any keys found. String[] keys; String[] children; int i; keys = prefs.keys(); for (i = 0; i < keys.length; i++) { prefs.remove(keys[i]); if (deep) { ... |
void | removeCLOB(Preferences prefs, String key) Removes the character large object (CLOB) associated with the specified key in the given preference node, if any. prefs.remove(key); try { getClobStorage(prefs, key).removeNode(); } catch (BackingStoreException bse) { |
void | removeKeys(Preferences prefs, String key, int from, int to) remove Keys for (int i = from; i < to;) prefs.remove(key + '.' + (++i)); if (from == 0) prefs.remove(key + ".#"); |
void | removePref(String prefName, Object obj) remove Pref Preferences prefs = Preferences.userNodeForPackage(obj.getClass()); prefs.remove(prefName); |
void | resetPreferences() Removes all Preferences nodes except for the system and user root nodes. resetPreferences(Preferences.userRoot()); resetPreferences(Preferences.systemRoot()); |