| java.lang.Object org.apache.commons.io.filefilter.AbstractFileFilter org.apache.commons.io.filefilter.AndFileFilter
AndFileFilter | public class AndFileFilter extends AbstractFileFilter implements ConditionalFileFilter(Code) | | A
java.io.FileFilter providing conditional AND logic across a list of
file filters. This filter returns true if all filters in the
list return true . Otherwise, it returns false .
Checking of the file filter list stops when the first filter returns
false .
since: Commons IO 1.0 version: $Revision: 490425 $ $Date: 2006-12-27 02:25:43 +0100 (Mi, 27 Dez 2006) $ author: Steven Caswell |
Constructor Summary | |
public | AndFileFilter() Constructs a new instance of AndFileFilter . | public | AndFileFilter(List fileFilters) Constructs a new instance of AndFileFilter
with the specified list of filters. | public | AndFileFilter(IOFileFilter filter1, IOFileFilter filter2) Constructs a new file filter that ANDs the result of two other filters. |
AndFileFilter | public AndFileFilter()(Code) | | Constructs a new instance of AndFileFilter .
since: Commons IO 1.1 |
AndFileFilter | public AndFileFilter(List fileFilters)(Code) | | Constructs a new instance of AndFileFilter
with the specified list of filters.
Parameters: fileFilters - a List of IOFileFilter instances, copied, null ignored since: Commons IO 1.1 |
AndFileFilter | public AndFileFilter(IOFileFilter filter1, IOFileFilter filter2)(Code) | | Constructs a new file filter that ANDs the result of two other filters.
Parameters: filter1 - the first filter, must not be null Parameters: filter2 - the second filter, must not be null throws: IllegalArgumentException - if either filter is null |
setFileFilters | public void setFileFilters(List fileFilters)(Code) | | |
|
|