Is there any way to use listFiles()
on a directory that\'s been packaged into a jar?
Let\'s say I have a directory in my resource directory with some te
No. java.io.File can only be used to list real directories.
However, you can treat it as a java.nio.file.Path.
Overall, you have three options: