|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.rim.device.api.util.StringPattern.Match
public static class StringPattern.Match
Holds the results of a successful
match examination within a string-pattern.
| Field Summary | ||
|---|---|---|
int |
beginIndex
First character of the matched sub-string within the string examined. |
|
int |
endIndex
One character past the last character of the matched sub-string within the string examined. |
|
long |
id
Type identifier for this sub-string match. |
|
int |
prefixLength
Prefix-character length in matched substring (for example, "tel:888-2323" has a prefix length of 4). |
|
| Constructor Summary | ||
|---|---|---|
StringPattern.Match()
Creates a new Match object. |
||
| Method Summary | ||
|---|---|---|
void |
setMatch(StringPattern.Match match)
Sets parameters for this match from provided match. |
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int beginIndex
public int endIndex
public long id
public int prefixLength
| Constructor Detail |
|---|
public StringPattern.Match()
| Method Detail |
|---|
public void setMatch(StringPattern.Match match)
match - Match object from which to copy the match parameters.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal