public interface MatchResult
Modifier and Type | Field and Description |
---|---|
static int |
MATCH |
static int |
PREFIX |
static int |
SUFFIX |
static int |
TARGET |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int i) |
char |
charAt(int i,
int groupNo) |
int |
end() |
int |
end(int n) |
boolean |
getGroup(int n,
java.lang.StringBuffer sb) |
boolean |
getGroup(int n,
TextBuffer tb) |
boolean |
getGroup(java.lang.String name,
java.lang.StringBuffer sb) |
boolean |
getGroup(java.lang.String name,
TextBuffer tb) |
java.lang.String |
group() |
java.lang.String |
group(int n) |
java.lang.String |
group(java.lang.String name) |
int |
groupCount() |
boolean |
isCaptured() |
boolean |
isCaptured(int groupId) |
boolean |
isCaptured(java.lang.String groupName) |
int |
length() |
int |
length(int n) |
Pattern |
pattern() |
java.lang.String |
prefix() |
int |
start() |
int |
start(int n) |
java.lang.String |
suffix() |
java.lang.String |
target() |
char[] |
targetChars() |
int |
targetEnd() |
int |
targetStart() |
static final int MATCH
static final int PREFIX
static final int SUFFIX
static final int TARGET
Pattern pattern()
int groupCount()
boolean isCaptured()
boolean isCaptured(int groupId)
boolean isCaptured(java.lang.String groupName)
java.lang.String group()
java.lang.String group(int n)
boolean getGroup(int n, java.lang.StringBuffer sb)
boolean getGroup(int n, TextBuffer tb)
java.lang.String group(java.lang.String name)
boolean getGroup(java.lang.String name, java.lang.StringBuffer sb)
boolean getGroup(java.lang.String name, TextBuffer tb)
java.lang.String prefix()
java.lang.String suffix()
java.lang.String target()
int targetStart()
int targetEnd()
char[] targetChars()
int start()
int end()
int length()
int start(int n)
int end(int n)
int length(int n)
char charAt(int i)
char charAt(int i, int groupNo)