com.itextpdf.text.pdf
Class PdfLister

java.lang.Object
  extended by com.itextpdf.text.pdf.PdfLister

public class PdfLister
extends Object

List a PDF file in human-readable form (for debugging reasons mostly)

Author:
Mark Thompson

Field Summary
(package private)  PrintStream out
          the printStream you want to write the output to.
 
Constructor Summary
PdfLister(PrintStream out)
          Create a new lister object.
 
Method Summary
 void listAnyObject(PdfObject object)
          Visualizes a PDF object.
 void listArray(PdfArray array)
          Visualizes a PdfArray object.
 void listDict(PdfDictionary dictionary)
          Visualizes a PdfDictionary object.
 void listPage(PdfImportedPage iPage)
          Visualizes an imported page
 void listStream(PRStream stream, PdfReaderInstance reader)
          Visualizes a Stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

PrintStream out
the printStream you want to write the output to.

Constructor Detail

PdfLister

public PdfLister(PrintStream out)
Create a new lister object.

Parameters:
out -
Method Detail

listAnyObject

public void listAnyObject(PdfObject object)
Visualizes a PDF object.

Parameters:
object - a com.itextpdf.text.pdf object

listDict

public void listDict(PdfDictionary dictionary)
Visualizes a PdfDictionary object.

Parameters:
dictionary - a com.itextpdf.text.pdf.PdfDictionary object

listArray

public void listArray(PdfArray array)
Visualizes a PdfArray object.

Parameters:
array - a com.itextpdf.text.pdf.PdfArray object

listStream

public void listStream(PRStream stream,
                       PdfReaderInstance reader)
Visualizes a Stream.

Parameters:
stream -
reader -

listPage

public void listPage(PdfImportedPage iPage)
Visualizes an imported page

Parameters:
iPage -

Hosted by Hostbasket