|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.checker.AndNotPatternFilenameFilter
Decorates the file name filter given to the constructor so it does not match names that include the pattern given to the constructor.
| Field Summary | |
private Pattern |
excludePat
The pattern we are excluding |
private FilenameFilter |
parentFilter
The filter we are decorating |
| Constructor Summary | |
AndNotPatternFilenameFilter(FilenameFilter f,
String p)
Initialize this filter. |
|
| Method Summary | |
boolean |
accept(File dir,
String name)
Return true just when we want to process this file name. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private FilenameFilter parentFilter
private Pattern excludePat
| Constructor Detail |
public AndNotPatternFilenameFilter(FilenameFilter f,
String p)
f - the filter to decoratep - the pattern of file names to exclude| Method Detail |
public boolean accept(File dir,
String name)
accept in interface FilenameFilter
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||