| java.lang.Object org.apache.commons.io.filefilter.AbstractFileFilter org.apache.commons.io.filefilter.OrFileFilter
OrFileFilter | public class OrFileFilter extends AbstractFileFilter implements ConditionalFileFilter(Code) | | A
java.io.FileFilter providing conditional OR logic across a list of
file filters. This filter returns true if any filters in the
list return true . Otherwise, it returns false .
Checking of the file filter list stops when the first filter returns
true .
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 | OrFileFilter() Constructs a new instance of OrFileFilter . | public | OrFileFilter(List fileFilters) Constructs a new instance of OrFileFilter
with the specified filters. | public | OrFileFilter(IOFileFilter filter1, IOFileFilter filter2) Constructs a new file filter that ORs the result of two other filters. |
OrFileFilter | public OrFileFilter()(Code) | | Constructs a new instance of OrFileFilter .
since: Commons IO 1.1 |
OrFileFilter | public OrFileFilter(List fileFilters)(Code) | | Constructs a new instance of OrFileFilter
with the specified filters.
Parameters: fileFilters - the file filters for this filter, copied, null ignored since: Commons IO 1.1 |
OrFileFilter | public OrFileFilter(IOFileFilter filter1, IOFileFilter filter2)(Code) | | Constructs a new file filter that ORs 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) | | |
|
|