public interface FileFilter
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File f)
Check if a file is accepted by this filter.
|
boolean |
acceptsDirectories()
Check if (all) directories are accepted by this filter.
|
java.lang.String |
getDescription()
Get a short description for this filter.
|
boolean accept(java.io.File f)
f
- The file to be tested.boolean acceptsDirectories()
java.lang.String getDescription()
Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.