All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.archiveaccessor.filestore.FilenameFilter

java.lang.Object
   |
   +----com.ibm.archiveaccessor.filestore.FilenameFilter

public final class FilenameFilter
extends Object
implements FilenameFilter
The FilenameFilter class implements filtering filenames.


Constructor Index

 o FilenameFilter(String)
Creates instance of the class.

Method Index

 o accept(File, String)
Tests if a specified file to be matched with filename filter.

Constructors

 o FilenameFilter
 public FilenameFilter(String aWildcards)
Creates instance of the class.

Parameters:
aWildcards - a file name wildcards.

Methods

 o accept
 public boolean accept(File aDir,
                       String aName)
Tests if a specified file to be matched with filename filter.

Parameters:
aDir - the directory in which the file was found.
aName - the name of a file.
Returns:
true if the file name is matched the file name filter, false otherwise

All Packages  Class Hierarchy  This Package  Previous  Next  Index