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.
-
FilenameFilter(String)
- Creates instance of the class.
-
accept(File, String)
- Tests if a specified file to be matched with filename filter.
FilenameFilter
public FilenameFilter(String aWildcards)
- Creates instance of the class.
- Parameters:
- aWildcards - a file name wildcards.
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