|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.text.TextFinderResult
public class TextFinderResult
Represents a range of text returned by the ITextFinder interface.
| Constructor Summary | |
|---|---|
TextFinderResult()
Both starting and ending indexed are set to 0 (zero) by default. |
|
TextFinderResult(int start,
int end)
|
|
| Method Summary | |
|---|---|
int |
getEnd()
Returns the ending index of the text result. |
int |
getStart()
Returns the starting index of the text result. |
void |
setEnd(int end)
Sets the ending index of the text result. |
void |
setStart(int start)
Sets the starting index of the text result. |
java.lang.String |
toString()
Returns the text result as a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextFinderResult()
public TextFinderResult(int start,
int end)
start - the starting index of the text result.end - the ending index of the text result.| Method Detail |
|---|
public int getStart()
public int getEnd()
public void setStart(int start)
start - the starting index of the text result.public void setEnd(int end)
end - the ending index of the text result.public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||