class SubmitDirectoryFilenameFilter extends Object implements FilenameFilter
| Modifier and Type | Field and Description |
|---|---|
private Pattern |
mPattern
Stores compiled patterns at first use, quasi-Singleton.
|
private String |
mRegexExpression
Store the regular expressions necessary to parse kickstart output files
|
| Constructor and Description |
|---|
SubmitDirectoryFilenameFilter(String prefix)
Overloaded constructor.
|
| 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 String mRegexExpression
private Pattern mPattern
public SubmitDirectoryFilenameFilter(String prefix)
prefix - prefix for the submit directorypublic boolean accept(File dir, String name)
accept in interface FilenameFilterdir - the directory in which the file was found.name - - the name of the file.