com.qoppa.pdfWriter
Class DocumentInfo

java.lang.Object
  extended bycom.qoppa.pdfWriter.DocumentInfo

public class DocumentInfo
extends Object

This class is used to set the document information fields in a PDF document.

Author:
Qoppa Software

Field Summary
static String KEY_AUTHOR
           
static String KEY_CREATIONDATE
           
static String KEY_CREATOR
           
static String KEY_KEYWORDS
           
static String KEY_MODDATE
           
static String KEY_PRODUCER
           
static String KEY_SUBJECT
           
static String KEY_TITLE
           
 
Constructor Summary
DocumentInfo()
          Document Info constructor.
 
Method Summary
 String getAuthor()
          Gets the document's author field value.
 Date getCreationDate()
          Gets the document creation date field value.
 String getCreator()
          Gets the document's creator field value.
 String getKeywords()
          Gets the document's keywords field value.
 Date getModDate()
          Returns the documents modified date field value.
 String getProducer()
          Gets the document's product field value.
 String getSubject()
          Gets the document's subject field value.
 String getTitle()
          Gets the document's title field value.
 void setAuthor(String author)
          Set the document's author.
 void setCreationDate(Date creationDate)
          Set the document's creation date.
 void setCreator(String creator)
          Set the document's creator.
 void setKeywords(String keywords)
          Set the document's keywords.
 void setModDate(Date modDate)
          Sets the document's modified date field.
 void setModifiedDate(Date modDate)
          Set the document's modified date.
 void setProducer(String producer)
          Set the document's producer.
 void setSubject(String subject)
          Set the document's subject.
 void setTitle(String title)
          Sets the document's title.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_TITLE

public static final String KEY_TITLE
See Also:
Constant Field Values

KEY_AUTHOR

public static final String KEY_AUTHOR
See Also:
Constant Field Values

KEY_SUBJECT

public static final String KEY_SUBJECT
See Also:
Constant Field Values

KEY_KEYWORDS

public static final String KEY_KEYWORDS
See Also:
Constant Field Values

KEY_CREATOR

public static final String KEY_CREATOR
See Also:
Constant Field Values

KEY_PRODUCER

public static final String KEY_PRODUCER
See Also:
Constant Field Values

KEY_CREATIONDATE

public static final String KEY_CREATIONDATE
See Also:
Constant Field Values

KEY_MODDATE

public static final String KEY_MODDATE
See Also:
Constant Field Values
Constructor Detail

DocumentInfo

public DocumentInfo()
Document Info constructor.

Method Detail

setTitle

public void setTitle(String title)
Sets the document's title.

Parameters:
title - The document's title.

setAuthor

public void setAuthor(String author)
Set the document's author.

Parameters:
author - The document's author.

setCreationDate

public void setCreationDate(Date creationDate)
Set the document's creation date.

Parameters:
creationDate - The document's creation date.

setCreator

public void setCreator(String creator)
Set the document's creator.

Parameters:
creator - The document's creator.

setKeywords

public void setKeywords(String keywords)
Set the document's keywords.

Parameters:
keywords - The document's keywords.

setModifiedDate

public void setModifiedDate(Date modDate)
Set the document's modified date.

Parameters:
modDate - The document's modified date.

setProducer

public void setProducer(String producer)
Set the document's producer.

Parameters:
producer - The document's producer.

setSubject

public void setSubject(String subject)
Set the document's subject.

Parameters:
subject - The document's subject.

getModDate

public Date getModDate()
Returns the documents modified date field value.

Returns:
The value of the modified date field.

setModDate

public void setModDate(Date modDate)
Sets the document's modified date field.

Parameters:
modDate - The new modified date value.

getAuthor

public String getAuthor()
Gets the document's author field value.

Returns:
The value of the author field.

getCreationDate

public Date getCreationDate()
Gets the document creation date field value.

Returns:
The value of the creation date field.

getCreator

public String getCreator()
Gets the document's creator field value.

Returns:
The value of the creator field.

getKeywords

public String getKeywords()
Gets the document's keywords field value.

Returns:
The value of the keywords field.

getProducer

public String getProducer()
Gets the document's product field value.

Returns:
The value of the producer field.

getSubject

public String getSubject()
Gets the document's subject field value.

Returns:
The value of the subject field.

getTitle

public String getTitle()
Gets the document's title field value.

Returns:
The value of the title field.