|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.io.filefilter.AbstractFileFilter
org.apache.commons.io.filefilter.NotFileFilter
This filter produces a logical NOT of the filters specified.
| Constructor Summary | |
NotFileFilter(IOFileFilter filter)
Constructs a new file filter that NOTs the result of another filters. |
|
| Method Summary | |
boolean |
accept(File file)
Checks to see if both filters are true. |
boolean |
accept(File file,
String name)
Checks to see if both filters are true. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NotFileFilter(IOFileFilter filter)
filter - the filter, must not be null
IllegalArgumentException - if the filter is null| Method Detail |
public boolean accept(File file)
accept in interface IOFileFilteraccept in class AbstractFileFilterfile - the File to check
public boolean accept(File file,
String name)
accept in interface IOFileFilteraccept in class AbstractFileFilterfile - the File directoryname - the filename
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||