public static enum MultiWordStringMatcher.MatchType extends Enum<MultiWordStringMatcher.MatchType>
matchType
is EXCT
: match exact string
matchType
is EXCTWS
: match exact string, except whitespace can match multiple whitespaces
matchType
is LWS
: match case insensitive string, except whitespace can match multiple whitespaces
matchType
is LNRM
: disregards punctuation, does case insensitive match
matchType
is REGEX
: interprets string as regex alreadyModifier and Type | Method and Description |
---|---|
static MultiWordStringMatcher.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MultiWordStringMatcher.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MultiWordStringMatcher.MatchType EXCT
public static final MultiWordStringMatcher.MatchType EXCTWS
public static final MultiWordStringMatcher.MatchType LWS
public static final MultiWordStringMatcher.MatchType LNRM
public static final MultiWordStringMatcher.MatchType REGEX
public static MultiWordStringMatcher.MatchType[] values()
for (MultiWordStringMatcher.MatchType c : MultiWordStringMatcher.MatchType.values()) System.out.println(c);
public static MultiWordStringMatcher.MatchType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null