public static enum SearchPattern.MatchType extends Enum<SearchPattern.MatchType>
Enum Constant and Description |
---|
BASIC
The pattern can contain basic wildcards, star (*) for any string and
questionaire (?) for any character.
|
LITERAL
Match the pattern literally.
|
REGEXP
The pattern follows java.util.regex.Pattern syntax.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SearchPattern.MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchPattern.MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchPattern.MatchType LITERAL
public static final SearchPattern.MatchType BASIC
public static final SearchPattern.MatchType REGEXP
public static SearchPattern.MatchType[] values()
public static SearchPattern.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 nullpublic String toString()
toString
in class Enum<SearchPattern.MatchType>