FileDocCategorySizeDatePackage
FileFilter.javaAPI DocJava SE 5 API818Fri Aug 26 14:56:58 BST 2005java.io

FileFilter

public interface FileFilter
A filter for abstract pathnames.

Instances of this interface may be passed to the {@link File#listFiles(java.io.FileFilter) listFiles(FileFilter)} method of the {@link java.io.File} class.

since
1.2

Fields Summary
Constructors Summary
Methods Summary
public booleanaccept(java.io.File pathname)
Tests whether or not the specified abstract pathname should be included in a pathname list.

param
pathname The abstract pathname to be tested
return
true if and only if pathname should be included