public class PdfReaderContentParser extends Object
Modifier and Type | Field and Description |
---|---|
private PdfReader |
reader
the reader this parser will process
|
Constructor and Description |
---|
PdfReaderContentParser(PdfReader reader) |
Modifier and Type | Method and Description |
---|---|
<E extends RenderListener> |
processContent(int pageNumber,
E renderListener)
Processes content from the specified page number using the specified listener
|
public PdfReaderContentParser(PdfReader reader)
public <E extends RenderListener> E processContent(int pageNumber, E renderListener) throws IOException
E
- the type of the renderListener - this makes it easy to chain callspageNumber
- the page number to processrenderListener
- the listener that will receive render callbacksIOException
- if operations on the reader failWebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses