Tests the specified file, returning true if the file is
accepted, false otherwise. True is returned if the extension
matches one of the file name extensions of this
FileFilter
, or the file is a directory.
Returns:
true if the file is to be accepted, false otherwise
Parameters:
-
f - the {@code File} to test