Allow the removal of a configuration value.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1545 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
ray
2004-12-14 02:34:53 +00:00
parent ae896e9b5b
commit 01c77d204d
@@ -571,6 +571,14 @@ public class Config
_propsup.firePropertyChange(name, oldValue, value);
}
/**
* Remove any set value for the specified preference.
*/
public void remove (String name)
{
_prefs.remove(name);
}
/**
* Adds a listener that will be notified whenever any configuration
* properties are changed by a call to one of the <code>set</code>