Package org.apache.commons.io.filefilter
Interface ConditionalFileFilter
- All Known Implementing Classes:
- AndFileFilter,- OrFileFilter
public interface ConditionalFileFilter
Defines operations for conditional file filters.
- Since:
- 1.1
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFileFilter(IOFileFilter ioFileFilter) Adds the specified file filter to the list of file filters at the end of the list.Gets this conditional file filter's list of file filters.booleanremoveFileFilter(IOFileFilter ioFileFilter) Removes the specified file filter.voidsetFileFilters(List<IOFileFilter> fileFilters) Sets the list of file filters, replacing any previously configured file filters on this filter.
- 
Method Details- 
addFileFilterAdds the specified file filter to the list of file filters at the end of the list.- Parameters:
- ioFileFilter- the filter to be added
- Since:
- 1.1
 
- 
getFileFiltersGets this conditional file filter's list of file filters.- Returns:
- the file filter list
- Since:
- 1.1
 
- 
removeFileFilterRemoves the specified file filter.- Parameters:
- ioFileFilter- filter to be removed
- Returns:
- trueif the filter was found in the list,- falseotherwise
- Since:
- 1.1
 
- 
setFileFiltersSets the list of file filters, replacing any previously configured file filters on this filter.- Parameters:
- fileFilters- the list of filters
- Since:
- 1.1
 
 
-