public class PdfReaderContentParser extends Object
Constructor and Description |
---|
PdfReaderContentParser(PdfReader reader) |
Modifier and Type | Method and Description |
---|---|
|
processContent(int pageNumber, E renderListener)
Processes content from the specified page number using the specified listener
|
|
processContent(int pageNumber, E renderListener, Map<String,ContentOperator> additionalContentOperators)
Processes content from the specified page number using the specified listener.
|
public PdfReaderContentParser(PdfReader reader)
publicRenderListener> E processContent(int pageNumber, E renderListener, Map<String,ContentOperator> additionalContentOperators) throws IOException
E
- the type of the renderListener - this makes it easy to chain calls
pageNumber
- the page number to process
renderListener
- the listener that will receive render callbacks
additionalContentOperators
- an optional map of custom ContentOperators for rendering instructions
IOException
- if operations on the reader fail
publicRenderListener> E processContent(int pageNumber, E renderListener) throws IOException
E
- the type of the renderListener - this makes it easy to chain calls
pageNumber
- the page number to process
renderListener
- the listener that will receive render callbacks
IOException
- if operations on the reader fail
Copyright © 1998–2024. All rights reserved.