List of usage examples for org.apache.commons.configuration XMLPropertiesConfiguration XMLPropertiesConfiguration
public XMLPropertiesConfiguration(URL url) throws ConfigurationException
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 ww . ja v a 2 s .com return this; }