Package org.apache.rat.mp
Class Regex
- All Implemented Interfaces:
IHeaderMatcher.Builder
Deprecated.
use Configuration file to define licenses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.setExpression
(String expression) Deprecated.Sets the regex expression.Methods inherited from class org.apache.rat.configuration.builders.RegexBuilder
build, toString
Methods inherited from class org.apache.rat.configuration.builders.AbstractBuilder
getId, hasId, setId
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.rat.analysis.IHeaderMatcher.Builder
getDescription
-
Constructor Details
-
Regex
public Regex()Deprecated.
-
-
Method Details
-
setExpression
Deprecated.Description copied from class:RegexBuilder
Sets the regex expression. This method compiles the string into a pattern and may throw any exception thrown by thePattern.compile(String)
method.- Overrides:
setExpression
in classRegexBuilder
- Parameters:
expression
- the expression as a string.- Returns:
- this builder for chaining.
- See Also:
-
set
Deprecated.
-