Lines Matching defs:fileFilter
17 package org.apache.commons.io.filefilter;
20 import java.io.FileFilter;
25 * This class turns a Java FileFilter or FilenameFilter into an IO FileFilter.
37 private final FileFilter fileFilter;
49 this.fileFilter = null;
53 * Constructs a delegate file filter around an existing FileFilter.
57 public DelegateFileFilter(FileFilter filter) {
59 throw new IllegalArgumentException("The FileFilter must not be null");
61 this.fileFilter = filter;
72 if (fileFilter != null) {
73 return fileFilter.accept(file);
100 String delegate = (fileFilter != null ? fileFilter.toString() : filenameFilter.toString());