public class PDFPageList extends PDFObject
| Constructor and Description | 
|---|
PDFPageList()
This constructs a PDF Pages object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
add(PDFPage page)
This adds a page to the document. 
 | 
PDFPage | 
getPage(int page)
This returns a specific page. 
 | 
void | 
write(OutputStream os)
 Writes the object to the output stream. 
 | 
getGeneration, getName, getPDFDocument, getSerialID, getType, setName, toArray, toString, writeEnd, writeStartpublic void add(PDFPage page)
page - PDFPage to addpublic PDFPage getPage(int page)
page - page number to returnpublic void write(OutputStream os) throws IOException
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.
write in class PDFObjectos - OutputStream to send the object toIOException - on error