Class Overview
Represents an strategy for matching strings using "like".
Summary
Fields |
public
static
final
MatchMode |
ANYWHERE |
Match the pattern anywhere in the string
|
public
static
final
MatchMode |
END |
Match the end of the string to the pattern
|
public
static
final
MatchMode |
EXACT |
Match the entire string to the pattern
|
public
static
final
MatchMode |
START |
Match the start of the string to the pattern
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Fields
public
static
final
MatchMode
ANYWHERE
Match the pattern anywhere in the string
public
static
final
MatchMode
END
Match the end of the string to the pattern
public
static
final
MatchMode
EXACT
Match the entire string to the pattern
public
static
final
MatchMode
START
Match the start of the string to the pattern
Protected Constructors
protected
MatchMode
(String name)
Public Methods
public
abstract
String
toMatchString
(String pattern)
convert the pattern, by appending/prepending "%"