Wondering if anyone could help -
I have a project I'm working on - part of it involves loading a list of resource files at runtime. I can hardcode each file and use the ClassLoader.getResource("....") to get each file, but I was wondering is there a way to search by regex e.g. return a list of all files that match *.json?
The files are all included in the "src/main/resource" folder (I'm using Intellij 12)
Any advice or pointers is much apreciated :)