org.apache.commons.io.filefilter
Interface ConditionalFileFilter
- AndFileFilter, OrFileFilter
public interface ConditionalFileFilter
Defines operations for conditional file filters.
$Revision: 155419 $ $Date: 2005-02-26 08:02:41 -0500 (Sat, 26 Feb 2005) $ void | addFileFilter(IOFileFilter ioFileFilter) - Adds the specified file filter to the list of file filters at the end of
the list.
|
List | getFileFilters() - Returns this conditional file filter's list of file filters.
|
boolean | removeFileFilter(IOFileFilter ioFileFilter) - Removes the specified file filter.
|
void | setFileFilters(List fileFilters) - Sets the list of file filters, replacing any previously configured
file filters on this filter.
|
addFileFilter
public void addFileFilter(IOFileFilter ioFileFilter)
Adds the specified file filter to the list of file filters at the end of
the list.
ioFileFilter
- the filter to be added
getFileFilters
public List getFileFilters()
Returns this conditional file filter's list of file filters.
removeFileFilter
public boolean removeFileFilter(IOFileFilter ioFileFilter)
Removes the specified file filter.
ioFileFilter
- filter to be removed
true
if the filter was found in the list,
false
otherwise
setFileFilters
public void setFileFilters(List fileFilters)
Sets the list of file filters, replacing any previously configured
file filters on this filter.
fileFilters
- the list of filters