Package org.apache.rat.mp.util.ignore
Interface IgnoreMatcher
- All Known Implementing Classes:
GitIgnoreMatcher
,GlobIgnoreMatcher
public interface IgnoreMatcher
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isEmpty()
Returnstrue
if this IgnoreMatcher contains no rules.isIgnoredFile(String filename)
Checks if the file matches the stored expressions.
-
Method Details
-
isIgnoredFile
Checks if the file matches the stored expressions.- Parameters:
filename
- The filename to be checked- Returns:
- empty: not matched, True: must be ignored, False: it must be UNignored
-
isEmpty
boolean isEmpty()Returnstrue
if this IgnoreMatcher contains no rules.- Returns:
true
if this IgnoreMatcher contains no rules
-