- java.lang.Object
-
- org.icepdf.ri.common.search.SearchHit
-
public class SearchHit extends Object
Represents a search hit (for the whole page search)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEndOffset()intgetStartOffset()StringgetText()
-
-
-
Constructor Detail
-
SearchHit
protected SearchHit(int startOffset, int endOffset, String text)
-
-
Method Detail
-
getStartOffset
public int getStartOffset()
- Returns:
- The starting offset in the page text
-
getEndOffset
public int getEndOffset()
- Returns:
- The ending offset in the page text
-
getText
public String getText()
- Returns:
- The text found
-
-