public abstract class MatchMode extends Object implements Serializable
Example.enableLike(MatchMode)
,
Serialized FormModifier and Type | Field and Description |
---|---|
static MatchMode |
ANYWHERE
Match the pattern anywhere in the string
|
static MatchMode |
END
Match the end of the string to the pattern
|
static MatchMode |
EXACT
Match the entire string to the pattern
|
static MatchMode |
START
Match the start of the string to the pattern
|
Modifier | Constructor and Description |
---|---|
protected |
MatchMode(String name) |
Modifier and Type | Method and Description |
---|---|
abstract String |
toMatchString(String pattern)
convert the pattern, by appending/prepending "%"
|
String |
toString() |
public static final MatchMode EXACT
public static final MatchMode START
public static final MatchMode END
public static final MatchMode ANYWHERE
protected MatchMode(String name)
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved