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