Laurent Hinoul

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.” - John F. Woods

Find files from a directory in Java

In Java, it’s not so hard to find the specific files you need from a directory. You can easily do that with the code below:

The first file =


The second file =


and so on

Leave a Reply