Working with a small Java tool to get a set of files based on a set of file name extensions, I discuss between using listFiles () and using continue;when I encounter a bad file, as well as using a custom FileFilter or FilenameFilter to do the same for me.
It seems to me that these methods are convenient methods for integrated tools, such as viewing Swing files, and are not more effective than the manual method if we are not connected to any of these tools. It's right? Are there any other benefits to these filters?
source
share