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
|
<E extends RenderListener> |
processContent(int pageNumber,
E renderListener,
Map<String,ContentOperator> additionalContentOperators)
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, Map<String,ContentOperator> additionalContentOperators) 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 callbacksadditionalContentOperators - an optional map of custom ContentOperators for rendering instructionsIOException - if operations on the reader failpublic <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 © 2022. All rights reserved.