This filter produces a logical NOT of the filters specified.
since: Commons IO 1.0 version: $Revision: 437567 $ $Date: 2006-08-28 08:39:07 +0200 (Mo, 28 Aug 2006) $ author: Stephen Colebourne
Constructor Summary
public
NotFileFilter(IOFileFilter filter) Constructs a new file filter that NOTs the result of another filters.
Method Summary
public boolean
accept(File file) Checks to see if both filters are true.
public boolean
accept(File file, String name) Checks to see if both filters are true.
Constructs a new file filter that NOTs the result of another filters.
Parameters: filter - the filter, must not be null throws: IllegalArgumentException - if the filter is null