DocTextFinder Class Documentation

classDocTextFinder

Namespace:com::datalogics::PDFL

Detailed Description

A class used to extract words from a document using a regular expression.

Constructor & Destructor Documentation

Member Function Documentation

DisposeChildren

voidDisposeChildren()

Returns:

void

[static initializer]

static void[static initializer]()

delete

synchronized voiddelete(Booleandisposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized voiddelete()

Returns:

synchronized void

finalize

voidfinalize()

Returns:

void

getMatchList

java.util.List< DocTextFinderMatch >getMatchList(intbeginPageNumber, intendPageNumber, Stringregexstr)

Parameters

beginPageNumber: int

the beginning page number included in the search.

endPageNumber: int

the ending page number included in the search.

regexstr: String

the regular expression to use for the search.

Returns:

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.