Package com.hp.lft.sdk.web
Class TextMatch
java.lang.Object
com.hp.lft.sdk.web.TextMatch
Class defining a text match we are looking for.
 
Usage example:
TextMatch textMatch = TextMatch.match("some text");
TextMatch textMatch = TextMatch.match("some text", 2);
Usage example:
TextMatch textMatch = TextMatch.match("some text");
TextMatch textMatch = TextMatch.match("some text", 2);
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Field Details- 
text
- 
textOccurrence
 
- 
- 
Constructor Details- 
TextMatchprotected TextMatch()
 
- 
- 
Method Details- 
matchReturns the text match object which can be used to find the first match of the specified text.- Parameters:
- text- the text to search for.
- Returns:
- the text match object which can be used to find the first match of the specified text.
 
- 
matchReturns the text match object which can be used to find the n-th match of the specified text.- Parameters:
- text- the text to search for.
- textOccurrence- 0-based ordinal number of the text's occurrence.
- Returns:
- the text match object which can be used to find the n-th match of the specified text.
 
 
-