Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.io

Interface FileFilter

java.lang.Object
|
+--java.io.FileFilter


public interface FileFilter

This interface has one method which is used for filtering pathnames returned in a pathname listing. It is currently used by the File.listFiles() method.

The method in this interface determines if a particular pathname should or should not be included in the pathname listing.

Author:

Method Summary

booleanaccept(java.io.File pathname)

This method determines whether or not a given pathname should be included in a pathname listing.

Method Details

accept

public boolean accept(java.io.File pathname)

This method determines whether or not a given pathname should be included in a pathname listing.

Parameters:

Returns: