|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgnu.jpdf.PDFObject
gnu.jpdf.PDFInfo
public class PDFInfo
This class stores details of the author, the PDF generator etc. The values are accessible via the PDFDocument class.
| Field Summary |
|---|
| Fields inherited from class gnu.jpdf.PDFObject |
|---|
objser, pdfDocument |
| Constructor Summary | |
|---|---|
PDFInfo()
This constructs a minimal info object |
|
PDFInfo(java.lang.String title)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAuthor()
Get the value of author. |
java.lang.String |
getCreator()
PDF has two values, a Creator and a Producer. |
java.lang.String |
getKeywords()
Get the value of keywords. |
java.lang.String |
getSubject()
Get the value of subject. |
java.lang.String |
getTitle()
Get the value of title. |
void |
setAuthor(java.lang.String v)
Set the value of author. |
void |
setCreator(java.lang.String v)
Set the value of creator. |
void |
setKeywords(java.lang.String v)
Set the value of keywords. |
void |
setSubject(java.lang.String v)
Set the value of subject. |
void |
setTitle(java.lang.String v)
Set the value of title. |
void |
write(java.io.OutputStream os)
Writes the object to the output stream. |
| Methods inherited from class gnu.jpdf.PDFObject |
|---|
getPDFDocument, getSerialID, getType, toArray, toString, writeEnd, writeStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PDFInfo()
public PDFInfo(java.lang.String title)
title - Title of this document| Method Detail |
|---|
public java.lang.String getAuthor()
public void setAuthor(java.lang.String v)
v - Value to assign to author.public java.lang.String getCreator()
public void setCreator(java.lang.String v)
v - Value to assign to creator.public java.lang.String getTitle()
public void setTitle(java.lang.String v)
v - Value to assign to title.public java.lang.String getSubject()
public void setSubject(java.lang.String v)
v - Value to assign to subject.public java.lang.String getKeywords()
public void setKeywords(java.lang.String v)
v - Value to assign to keywords.
public void write(java.io.OutputStream os)
throws java.io.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 to
java.io.IOException - on error
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||