The list of methods to do Preference Remove are organized into topic(s).
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
resetPreferences() Removes all Preferences nodes except for the system and user root nodes.
resetPreferences(Preferences.userRoot());
resetPreferences(Preferences.systemRoot());