public class RegexBuilder extends AbstractBuilder
Constructor and Description |
---|
RegexBuilder() |
Modifier and Type | Method and Description |
---|---|
SimpleRegexMatcher |
build()
Build the IHeaderMatcher.
|
RegexBuilder |
setExpr(String exp)
Sets the regex expression.
|
String |
toString() |
getId, hasId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
all, any, builtClass, copyright, getDescription, matcherRef, not, regex, spdx, text
public RegexBuilder setExpr(String exp)
Pattern.compile(String)
method.exp
- the expression as a string.Pattern.compile(String)
public SimpleRegexMatcher build()
IHeaderMatcher.Builder
public String toString()
toString
in class AbstractBuilder
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.