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
jar files are zip files.
Open the file using java.util.zip.ZipFile
Then enumerate its entries looking for the properties file you want.
When you have the entry you can get its stream with .getInputStream()