com.itextpdf.text.pdf.parser
public class PdfReaderContentParser extends Object
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 fail