public enum MatchLocation extends Enum<MatchLocation>
| Enum Constant and Description |
|---|
ANYWHERE
Match the search text anywhere in the field or fields being searched.
|
BEGIN
Match the search text at the beginning of the field or fields being searched.
|
END
Match the search text at the end of the field or fields being searched.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toMatchString(String pattern) |
abstract String |
toMatchString(String pattern,
String delimiter) |
static MatchLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchLocation BEGIN
public static final MatchLocation END
public static final MatchLocation ANYWHERE
public static MatchLocation[] values()
for (MatchLocation c : MatchLocation.values()) System.out.println(c);
public static MatchLocation 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 nullCopyright © 2012–2014. All rights reserved.