The ideal way to populate a java.util.Properties
object seems to be by using some variation on
properties.load(ClassLoader.getSystemClassLoader().getResourcesAsStream(String className));
The big idea being to point Properties.load
at a InputStream of a class, rather than at a path.
How can this be done using org.apache.commons.configuration.Configuration
?