|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.itextpdf.text.pdf.parser.PdfReaderContentParser
public class PdfReaderContentParser
A utility class that makes it cleaner to process content from pages of a PdfReader through a specified RenderListener.
Constructor Summary | |
---|---|
PdfReaderContentParser(PdfReader reader)
|
Method Summary | ||
---|---|---|
|
processContent(int pageNumber,
E renderListener)
Processes content from the specified page number using the specified listener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PdfReaderContentParser(PdfReader reader)
Method Detail |
---|
public <E extends RenderListener> E processContent(int pageNumber, E renderListener) throws java.io.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 callbacks
java.io.IOException
- if operations on the reader fail
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |