|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.io.filefilter.AbstractFileFilter | +--org.apache.commons.io.filefilter.NotFileFilter
This filter produces a logical NOT of the filters specified.
Field Summary | |
private IOFileFilter |
filter
The filter |
Constructor Summary | |
NotFileFilter(IOFileFilter filter)
Constructs a new file filter that NOTs the result of another filters. |
Method Summary | |
boolean |
accept(java.io.File file)
Checks to see if both filters are true. |
boolean |
accept(java.io.File file,
java.lang.String name)
Checks to see if both filters are true. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private IOFileFilter filter
Constructor Detail |
public NotFileFilter(IOFileFilter filter)
filter
- the filter, must not be nulljava.lang.IllegalArgumentException
- if the filter is nullMethod Detail |
public boolean accept(java.io.File file)
accept
in class AbstractFileFilter
file
- the File to checkpublic boolean accept(java.io.File file, java.lang.String name)
accept
in class AbstractFileFilter
file
- the File directoryname
- the filename
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |