public static enum SearchPattern.MatchType extends java.lang.Enum<SearchPattern.MatchType>
| Enum Constant | 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 | Description |
|---|---|---|
java.lang.String |
toString() |
|
static SearchPattern.MatchType |
valueOf(java.lang.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()
for (SearchPattern.MatchType c : SearchPattern.MatchType.values()) System.out.println(c);
public static SearchPattern.MatchType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<SearchPattern.MatchType>Built on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.