I want to list all files with a specific name in the class path. I am expecting multiple occurrences, hence Class.getResource(String) will not work.
Basically I have to identify all files with a specific name (ex: xyz.properties) anywhere in the class path and then read the metadata in them cumulatively.
I want something of the effect Collection<URL> Class.getResources(String) but could not find anything similar.
PS: I don't have the luxury of using any third party libraries, hence in need of a home grown solution.