Package org.apache.commons.vfs2.filter
Interface ConditionalFileFilter
- All Known Implementing Classes:
- AndFileFilter,- OrFileFilter
public interface ConditionalFileFilter
Defines operations for conditional file filters.
- Since:
- 2.4
- Author:
- This code was originally ported from Apache Commons IO File Filter
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddFileFilter(FileFilter fileFilter) Adds the specified file filter to the list of file filters at the end of the list.Returns this conditional file filter's list of file filters.booleanremoveFileFilter(FileFilter fileFilter) Removes the specified file filter.voidsetFileFilters(List<FileFilter> 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:
- fileFilter- the filter to be added
 
- 
getFileFiltersReturns this conditional file filter's list of file filters.- Returns:
- the file filter list
 
- 
removeFileFilterRemoves the specified file filter.- Parameters:
- fileFilter- filter to be removed
- Returns:
- trueif the filter was found in the list,- falseotherwise
 
- 
setFileFiltersSets the list of file filters, replacing any previously configured file filters on this filter.- Parameters:
- fileFilters- the list of filters
 
 
-