org.apache.fop.pdf
Class PDFInfo
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFInfo
public class PDFInfo
- extends PDFObject
class representing an /Info object
Field Summary |
protected String |
producer
the application producing the PDF |
Constructor Summary |
PDFInfo(int number)
create an Info object |
Method Summary |
void |
setProducer(String producer)
set the producer string |
byte[] |
toPDF()
produce the PDF representation of the object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
producer
protected String producer
- the application producing the PDF
PDFInfo
public PDFInfo(int number)
- create an Info object
- Parameters:
number
- the object's number
setProducer
public void setProducer(String producer)
- set the producer string
- Parameters:
producer
- the producer string
toPDF
public byte[] toPDF()
- produce the PDF representation of the object
- Returns:
- the PDF
Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.