Home | History | Annotate | Download | only in filefilter

Lines Matching refs:filter

23  * This filter produces a logical NOT of the filters specified.
32 /** The filter */
33 private final IOFileFilter filter;
36 * Constructs a new file filter that NOTs the result of another filters.
38 * @param filter the filter, must not be null
39 * @throws IllegalArgumentException if the filter is null
41 public NotFileFilter(IOFileFilter filter) {
42 if (filter == null) {
43 throw new IllegalArgumentException("The filter must not be null");
45 this.filter = filter;
52 * @return true if the filter returns false
55 return ! filter.accept(file);
63 * @return true if the filter returns false
66 return ! filter.accept(file, name);
70 * Provide a String representaion of this file filter.
75 return super.toString() + "(" + filter.toString() + ")";