|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.raelity.text.RegExpResult
com.raelity.text.RegExpResultJava
public class RegExpResultJava
Constructor Summary | |
---|---|
RegExpResultJava(Matcher m)
|
Method Summary | |
---|---|
String |
group(int i)
Retrive backreference (matching string in the input) for the ith set of parenthesis in the pattern. |
boolean |
isMatch()
Check if the associated search produced a match. |
int |
length(int i)
The length of the of corresponding backreference. |
int |
nGroup()
Return the number of backreferences. |
int |
start(int i)
The returned value is the offset from the beginning of the input to where the ith backreference starts. |
int |
stop(int i)
The returned value is the offset from the beginning of the input to where the ith backreference ends. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RegExpResultJava(Matcher m)
Method Detail |
---|
public boolean isMatch()
RegExpResult
isMatch
in class RegExpResult
public int nGroup()
RegExpResult
nGroup
in class RegExpResult
public String group(int i)
RegExpResult
group
in class RegExpResult
public int length(int i)
RegExpResult
length
in class RegExpResult
public int start(int i)
RegExpResult
start
in class RegExpResult
public int stop(int i)
RegExpResult
stop
in class RegExpResult
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |