static interface RegexStringComparator.Engine
Modifier and Type | Method and Description |
---|---|
int |
compareTo(byte[] value,
int offset,
int length)
Match the given input against the configured pattern
|
String |
getCharset()
Returns the name of the configured charset
|
int |
getFlags()
Returns the set of configured match flags, a bit mask that may include
Pattern flags |
String |
getPattern()
Returns the string representation of the configured regular expression
for matching
|
void |
setCharset(String charset)
Set the charset used when matching
|
byte[] |
toByteArray()
Return the serialized form of the configured matcher
|
String getPattern()
int getFlags()
Pattern
flagsString getCharset()
void setCharset(String charset)
charset
- the name of the desired charset for matchingbyte[] toByteArray()
int compareTo(byte[] value, int offset, int length)
value
- the data to be matchedoffset
- offset of the data to be matchedlength
- length of the data to be matchedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.