Package com.io7m.montarre.api
Interface MFileFilterType
- All Known Implementing Classes:
MFileFilter
@Immutable
public interface MFileFilterType
A file filter.
If a file is matched by at least one inclusion filter, and not matched by any exclusion filter, then the file will be treated as included.
-
Method Summary
-
Method Details
-
includes
- Returns:
- The filename inclusion patterns
-
excludes
- Returns:
- The filename exclusion patterns
-
evaluate
Evaluate the filter against the given file name.- Parameters:
file- The file name- Returns:
trueiff the filter matched
-