I am able to read a particular resource into an InputStream.
InputStream inputStream = MyClass.getResourceAsStream("/resources/test.xml")
But I cannot get a list of all resource files in the resources package for some reason.
I have tried the code from this answer to no avail.
Edit: I am only interested in getting a list of the file names from the resources package.
Edit 2: The code is called from a runtime eclipse instance.