public interface File.FilenameFilter
Interface to filter filenames.
Methods
public abstract boolean accept(File f, String name) | Checks if the given file should be included in results. |
Method details
accept
public abstract boolean accept(File f, String name)Checks if the given file should be included in results.
Parameters
fFile- The parent directory of the file to check.
nameString- The file name.
Returns
True if the file should be included in results.