public class DocTextFinder
extends java.lang.Object
| Constructor and Description |
|---|
DocTextFinder(Document doc,
WordFinderConfig wbConfig)
Create a DocTextFinder
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
java.util.List<DocTextFinderMatch> |
getMatchList(int beginPageNumber,
int endPageNumber,
java.lang.String regexstr)
Finds all matching strings for a given regular expression for the specified page range.
|
public DocTextFinder(Document doc, WordFinderConfig wbConfig)
doc - document to searchwbConfig - WordFinder configuration to usepublic void delete()
public java.util.List<DocTextFinderMatch> getMatchList(int beginPageNumber, int endPageNumber, java.lang.String regexstr)
beginPageNumber - the beginning page number included in the search.endPageNumber - the ending page number included in the search.regexstr - the regular expression to use for the search.