public abstract class MatchMode
extends java.lang.Object
implements java.io.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(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
toMatchString(java.lang.String pattern)
convert the pattern, by appending/prepending "%"
|
java.lang.String |
toString() |
public static final MatchMode EXACT
public static final MatchMode START
public static final MatchMode END
public static final MatchMode ANYWHERE
Copyright © 2013. All Rights Reserved.