Garmaine Staff asked 2 years ago

Suppose I've got a few resource files in my classpath:


My code does not know the full paths of these resource files. It knows only their extension .txt.
How would you write a function to return an array of paths of the resources with extension .txt ?