Code example for Properties

Methods: remove

0
        properties.store(new FileOutputStream(to),
            "Geoserver preferences store used by the Preferences Module"); 
    } 
 
    public synchronized void unset(String key) {
        properties.remove(key);
    } 
 
    public String[] keys() {
        return (String[]) properties.keySet().toArray(new String[0]);
    } 
 
    public void setValidator(IValidator validator) {
        this.validator = validator;
    } 
}