public class PjInfo extends PjDictionary
_h
Constructor and Description |
---|
PjInfo()
Creates a new Info dictionary.
|
PjInfo(java.util.Hashtable h)
Creates an Info dictionary as a wrapper around a Hashtable.
|
cloneHt, getHashtable, hget, hgetReference, renumber, writePdf
public PjInfo()
public PjInfo(java.util.Hashtable h)
h
- the Hashtable to use for this dictionary.public void setAuthor(PjString author)
public void setAuthor(PjReference author)
public PjObject getAuthor() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setCreationDate(PjDate creationDate)
public void setCreationDate(PjReference creationDate)
public PjObject getCreationDate() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setModDate(PjDate modDate)
public void setModDate(PjReference modDate)
public PjObject getModDate() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setCreator(PjString creator)
public void setCreator(PjReference creator)
public PjObject getCreator() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setProducer(PjString producer)
public PjObject getProducer() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setTitle(PjString title)
public void setTitle(PjReference title)
public PjObject getTitle() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setSubject(PjString subject)
public void setSubject(PjReference subject)
public PjObject getSubject() throws InvalidPdfObjectException
InvalidPdfObjectException
public void setKeywords(PjString keywords)
public void setKeywords(PjReference keywords)
public PjObject getKeywords() throws InvalidPdfObjectException
InvalidPdfObjectException
public static boolean isLike(PjDictionary dictionary)
dictionary
- the dictionary to examine.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class PjDictionary
java.lang.CloneNotSupportedException
- if the instance can not be cloned.private void addDefaults()