|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.bramosystems.oss.player.util.client.RegExp.RegexResult
public static class RegExp.RegexResult
The RegExpResult wraps the result of the search performed by the RegExp.exec(java.lang.String)
method
Constructor Summary | |
---|---|
protected |
RegExp.RegexResult()
The constructor |
Method Summary | |
---|---|
int |
getIndex()
Returns the character position of the matched substring within the string |
String |
getInput()
Returns the input string |
String |
getMatch(int index)
Gets the matching string at the specified index. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected RegExp.RegexResult()
Method Detail |
---|
public final int getIndex()
public final String getInput()
public final String getMatch(int index)
Index 0 contains the complete matching substring while other elements of the array (1 through n) contain substrings that match parenthetical groups in the regular expression
index
- the index to be retrieved
null
if none exists
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |