List of usage examples for org.apache.commons.configuration XMLPropertiesConfiguration getKeys
public Iterator getKeys()
Iterator
with the keys contained in this configuration. From source file:AIR.Common.Configuration.ConfigurationSection.java
public ConfigurationSection updateProperties(URL url) throws ConfigurationException { XMLPropertiesConfiguration config = new XMLPropertiesConfiguration(url); Iterator<String> key_iterator = config.getKeys(); while (key_iterator.hasNext()) { String key = key_iterator.next(); this.put(key, config.getString(key)); }/*from w w w .j ava 2s.c om*/ return this; }