FileOnlyFilter implements a java.io.FileFilter that matches anything that isn't a directory. Note that the following two lines produce semantically equivalent filters:
FileFilter f1 = new FileOnlyFilter(); FileFilter f1 = new NotFileFilter (new DirectoryFilter());
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.