If there are two JAR files in the classpath, both containing a resource named "config.properties" in its root. Is there a way to retrieve both files similar to getClass().getResourceAsStream()? The order is not relevant.
An alternative would be to load every property file in the class path that match certain criterias, if this is possible at all.