public class PdfReaderContentParser extends Object
Constructor | Description |
---|---|
PdfReaderContentParser(PdfReader reader) |
Modifier and Type | Method | 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 failCopyright © 2018. All rights reserved.