DocTextFinder Class Documentation
class DocTextFinderNamespace:com::datalogics::PDFL
Detailed Description
A class used to extract words from a document using a regular expression.
Constructor & Destructor Documentation
DocTextFinder
DocTextFinder(Document doc, WordFinderConfig wbConfig)Parameters
doc: Documentdocument to search
wbConfig: WordFinderConfigWordFinder configuration to use
Create a DocTextFinder
DocTextFinder
DocTextFinder(Document doc, WordFinderConfig wbConfig, DocTextFinderConfig dtfConfig)Parameters
doc: Documentdocument to search
wbConfig: WordFinderConfigWordFinder configuration to use
dtfConfig: DocTextFinderConfigDocTextFinder configuration to use
Create a DocTextFinder with a DocTextFinderConfig
Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetMatchList
java.util.List< DocTextFinderMatch > getMatchList(int beginPageNumber, int endPageNumber, String regexstr)Parameters
beginPageNumber: intthe beginning page number included in the search.
endPageNumber: intthe ending page number included in the search.
regexstr: Stringthe regular expression to use for the search.
Returns:
java.util.List< DocTextFinderMatch >a structure containing matching phrases along with its quads.
Finds all matching strings for a given regular expression for the specified page range. It returns a vector containing words along with the page and matching phrase that was found.