class RunDirectoryFilenameFilter extends Object implements FilenameFilter
Modifier and Type | Field and Description |
---|---|
private static Pattern |
mPattern
Stores compiled patterns at first use, quasi-Singleton.
|
private static String |
mRegexExpression
Store the regular expressions necessary to parse kickstart output files
|
Constructor and Description |
---|
RunDirectoryFilenameFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(File dir,
String name)
Tests if a specified file should be included in a file list.
|
private static final String mRegexExpression
private static Pattern mPattern
public boolean accept(File dir, String name)
accept
in interface FilenameFilter
dir
- the directory in which the file was found.name
- - the name of the file.