|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.lt.tools.tokenizer.regexp.Match
Match
holds the result of matching an input string
with a regular expression.
Constructor Summary | |
Match(int aStart,
int anEnd,
java.lang.String anImage)
This creates a new instance of Match using the given
parameters. |
Method Summary | |
int |
getEndIndex()
This returns the index within the input string where the match in its entirety ends. |
int |
getStartIndex()
This returns the index within the input text where the match in its entirety began. |
java.lang.String |
toString()
This returns the String matching the regular
expression pattern. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Match(int aStart, int anEnd, java.lang.String anImage)
Match
using the given
parameters.
aStart
- an int
with the start indexanEnd
- an int
with the end indexanImage
- a String
with the matchMethod Detail |
public int getStartIndex()
int
public int getEndIndex()
int
with the indexpublic java.lang.String toString()
String
matching the regular
expression pattern.
String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |