Package org.apache.rat.mp
Class Regex
- All Implemented Interfaces:
IHeaderMatcher.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the regex expression.Methods inherited from class org.apache.rat.configuration.builders.RegexBuilder
build, toStringMethods inherited from class org.apache.rat.configuration.builders.AbstractBuilder
getId, hasId, setId
-
Constructor Details
-
Regex
public Regex()
-
-
Method Details
-
setExpr
Description copied from class:RegexBuilderSets the regex expression. This method compiles the string into a pattern and may throw any exception thrown by thePattern.compile(String)method.- Overrides:
setExprin classRegexBuilder- Parameters:
exp- the expression as a string.- Returns:
- this builder for chaining.
- See Also:
Pattern.compile(String)
-
set
-