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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user