public abstract class StringMatcher extends Object
Modifier and Type | Field and Description |
---|---|
static int |
MAX_MATCH_LENGTH |
Modifier and Type | Method and Description |
---|---|
static StringMatcher |
create(String pattern,
boolean isRegExp,
boolean caseSensitive) |
abstract Set<String> |
getPossibleValues() |
abstract boolean |
matches(String s) |
static StringMatcher |
regexp(String pattern)
Create a case-sensitive regexp matcher.
|
public static final int MAX_MATCH_LENGTH
@Nullable public abstract Set<String> getPossibleValues()
null
if it's not possible to determine those.public abstract boolean matches(String s)
public static StringMatcher regexp(String pattern)
public static StringMatcher create(String pattern, boolean isRegExp, boolean caseSensitive)