public class FileOnlyFilter
extends java.lang.Object
implements java.io.FileFilter
FileFilter f1 = new FileOnlyFilter(); FileFilter f1 = new NotFileFilter (new DirectoryFilter());
Constructor and Description |
---|
FileOnlyFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Determine whether the specified file is a directory or not.
|