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.
|
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 FilenameFilter
dir
- the directory in which the file was found.name
- - the name of the file.Copyright © 2011 The University of Southern California. All Rights Reserved.