clear method
void
clear()
Remove all properties from the configuration.
Implementation
void clear() {
List<String> toRemove = [];
Iterator<String> it = getKeys();
while (it.moveNext()) {
String key = it.current;
toRemove.add(key);
}
for (String key in toRemove) {
clearProperty(key);
}
}