public class JdkMatchResult extends MatchResult
| Constructor and Description |
|---|
JdkMatchResult(Matcher matcher) |
JdkMatchResult(Matcher matcher) |
| Modifier and Type | Method and Description |
|---|---|
int |
beginOffset(int i)
The offset of the beginning of the match for the group with the index i
|
int |
endOffset(int i)
The offset of the end of the match for the group with the index i
|
String |
group(int i)
Return the content of group with the index i
|
int |
groups()
Returns the number of groups (...) found
|
createpublic JdkMatchResult(Matcher matcher)
public JdkMatchResult(Matcher matcher)
public int groups()
MatchResultgroups in class MatchResultpublic String group(int i)
MatchResultgroup in class MatchResulti - index for the grouppublic int beginOffset(int i)
MatchResultbeginOffset in class MatchResulti - index for the grouppublic int endOffset(int i)
MatchResultendOffset in class MatchResulti - index for the groupCopyright © 2003-2014 Sakai Project. All Rights Reserved.