private XMLConfiguration getConfig(Resource r) throws ConfigurationException, IOException {
XMLConfiguration config = new XMLConfiguration();
config.setDelimiterParsingDisabled(true);
// Use InputStream so we are not bound to File implementations of the config
config.load(r.getInputStream());
return config;
}
public void setConfigurationMappings(Map<String,String> resources) {
this.resources = resources;