How can I discover resources in a Java jar with a wildcard name?
classpath, java
Solution
It requires a little trickery, but here's an relevant blog entry. You first figure out the URLs of the jars, then open the jar and scan its contents. I think you would discover the URLs of all jars by looking for `/META-INF/MANIFEST.MF'. Directories would be another matter.
Problem
I want to discover all xml files that my ClassLoader is aware of using a wildcard pattern. Is there any way to do this?