org.apache.commons.io.filefilter

Interface ConditionalFileFilter

Known Implementing Classes:
AndFileFilter, OrFileFilter

public interface ConditionalFileFilter

Defines operations for conditional file filters.
Version:
$Revision: 437567 $ $Date: 2006-08-28 08:39:07 +0200 (Mo, 28 Aug 2006) $
Author:
Steven Caswell
Since:
Commons IO 1.1

Method Summary

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.

Method Details

addFileFilter

public void addFileFilter(IOFileFilter ioFileFilter)
Adds the specified file filter to the list of file filters at the end of the list.
Parameters:
ioFileFilter - the filter to be added
Since:
Commons IO 1.1

getFileFilters

public List getFileFilters()
Returns this conditional file filter's list of file filters.
Returns:
the file filter list
Since:
Commons IO 1.1

removeFileFilter

public boolean removeFileFilter(IOFileFilter ioFileFilter)
Removes the specified file filter.
Parameters:
ioFileFilter - filter to be removed
Returns:
true if the filter was found in the list, false otherwise
Since:
Commons IO 1.1

setFileFilters

public void setFileFilters(List fileFilters)
Sets the list of file filters, replacing any previously configured file filters on this filter.
Parameters:
fileFilters - the list of filters
Since:
Commons IO 1.1