Top Description Methods
org.apache.commons.io.filefilter

public Interface ConditionalFileFilter

Known Direct Implementers
org.apache.commons.io.filefilter.OrFileFilter, org.apache.commons.io.filefilter.AndFileFilter
Imports
java.util.List

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

Method Summary

Modifier and TypeMethod and Description
public void
addFileFilter(IOFileFilter
the filter to be added
ioFileFilter
)

Adds the specified file filter to the list of file filters at the end of the list.

public List<E>

Returns:

the file filter list
getFileFilters
()

Returns this conditional file filter's list of file filters.

public boolean

Returns:

true if the filter was found in the list, false otherwise
removeFileFilter
(IOFileFilter
filter to be removed
ioFileFilter
)

Removes the specified file filter.

public void
setFileFilters(List<E>
the list of filters
fileFilters
)

Sets the list of file filters, replacing any previously configured file filters on this filter.

Method Detail

addFileFilterback to summary
public void addFileFilter(IOFileFilter ioFileFilter)

Adds the specified file filter to the list of file filters at the end of the list.

Parameters
ioFileFilter:IOFileFilter

the filter to be added

Since
Commons IO 1.1
getFileFiltersback to summary
public List<E> getFileFilters()

Returns this conditional file filter's list of file filters.

Returns:List<E>

the file filter list

Since
Commons IO 1.1
removeFileFilterback to summary
public boolean removeFileFilter(IOFileFilter ioFileFilter)

Removes the specified file filter.

Parameters
ioFileFilter:IOFileFilter

filter to be removed

Returns:boolean

true if the filter was found in the list, false otherwise

Since
Commons IO 1.1
setFileFiltersback to summary
public void setFileFilters(List<E> fileFilters)

Sets the list of file filters, replacing any previously configured file filters on this filter.

Parameters
fileFilters:List<E>

the list of filters

Since
Commons IO 1.1