Package pdf
Class PDFPageList
- java.lang.Object
-
- pdf.PDFObject
-
- pdf.PDFPageList
-
- All Implemented Interfaces:
java.io.Serializable
public class PDFPageList extends PDFObject
This object contains the document's pages.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class pdf.PDFObject
objser, pdfDocument
-
-
Constructor Summary
Constructors Constructor Description PDFPageList()This constructs a PDF Pages object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(PDFPage page)This adds a page to the document.PDFPagegetPage(int page)This returns a specific page.voidwrite(java.io.OutputStream os)Writes the object to the output stream.-
Methods inherited from class pdf.PDFObject
getPDFDocument, getSerialID, getType, toArray, toString, writeEnd, writeStart
-
-
-
-
Method Detail
-
add
public void add(PDFPage page)
This adds a page to the document.- Parameters:
page- PDFPage to add
-
getPage
public PDFPage getPage(int page)
This returns a specific page. Used by the PDF class.- Parameters:
page- page number to return- Returns:
- PDFPage at that position
-
write
public void write(java.io.OutputStream os) throws java.io.IOExceptionDescription copied from class:PDFObjectWrites the object to the output stream. This method must be overidden.
Note: It should not write any other objects, even if they are it's Kids, as they will be written by the calling routine.
-
-