|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConditionalFileFilter
Defines operations for conditional file filters.
Based on code from Apache Commons IO version 2.01.
The main difference is that this class filters objects that
implement FileIf,
not File.
Original author Steven Caswell
| Method Summary | |
|---|---|
void |
addFileFilter(IOFileFilter ioFileFilter)
Adds the specified file filter to the list of file filters at the end of the list. |
java.util.List<IOFileFilter> |
getFileFilters()
Returns this conditional file filter's list of file filters. |
boolean |
removeFileFilter(IOFileFilter ioFileFilter)
Removes the specified file filter. |
void |
setFileFilters(java.util.List<IOFileFilter> fileFilters)
Sets the list of file filters, replacing any previously configured file filters on this filter. |
| Method Detail |
|---|
void addFileFilter(IOFileFilter ioFileFilter)
ioFileFilter - the filter to be addedjava.util.List<IOFileFilter> getFileFilters()
boolean removeFileFilter(IOFileFilter ioFileFilter)
ioFileFilter - filter to be removed
true if the filter was found in the list,
false otherwisevoid setFileFilters(java.util.List<IOFileFilter> fileFilters)
fileFilters - the list of filters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||