Package org.jppf.doc
Class AbstractFileFilter
java.lang.Object
org.jppf.doc.AbstractFileFilter
- All Implemented Interfaces:
FileFilter
- Direct Known Subclasses:
JPPFDirFilter,JPPFFileFilter
Filter that only accepts directories.
It is possible to include or excluded specific directory names, in which case the including filter is applied before the excluding one.
-
Field Details
-
includes
Included names. If specified, only these directories will be included. -
excludes
Excluded names. If specified, only these directories will be excluded.
-
-
Constructor Details
-
AbstractFileFilter
public AbstractFileFilter()Initialize a filter accepting all names.
-
-
Method Details
-
included
Check whether the specified name is included by this filter.- Parameters:
name- the name to check.ignoreCase- determines whether name comparisons should ignore case.- Returns:
- true if the name is included, false otherwise.
-
excluded
Check whether the specified name is excluded by this filter.- Parameters:
name- the name to check.ignoreCase- determines whether name comparisons should ignore case.- Returns:
- true if the name is excluded, false otherwise.
-