| Modifier and Type | Field and Description |
|---|---|
| private final COSDictionary |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDDocumentInformation(COSDictionary
The underlying dictionary. dic)Constructor that is used for a preexisting dictionary. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public COSDictionary | Returns: The underlying info dictionary.Implements org. This will get the underlying dictionary that this object wraps. |
| public Calendar | Returns: The creation date of the document.This will get the creation date of the document. |
| public String | |
| public String | Returns: String Value of metadata fieldName of custom metadata field from pdf document. fieldName)This will get the value of a custom metadata information field for the document. |
| public String | |
| public Set | Returns: all metadata key strings.This will get the keys of all metadata information fields for the document. |
| public Calendar | Returns: The modification date of the document.This will get the modification date of the document. |
| public String | |
| public Object | Returns: the properties valuethe dictionaries key propertyKey)Return the properties String value. |
| public String | |
| public String | |
| public String | Returns: The trapped value for the document.This will get the trapped value for the document. |
| public void | |
| public void | setCreationDate(Calendar
The new creation date for the document. date)This will set the creation date of the document. |
| public void | setCreator(String
The new creator for the document. creator)This will set the creator of the document. |
| public void | setCustomMetadataValue(String
The name of the custom metadata field. fieldName, String The value to the custom metadata field. fieldValue)Set the custom metadata value. |
| public void | setKeywords(String
The new keywords for the document. keywords)This will set the keywords of the document. |
| public void | setModificationDate(Calendar
The new modification date for the document. date)This will set the modification date of the document. |
| public void | setProducer(String
The new producer for the document. producer)This will set the producer of the document. |
| public void | setSubject(String
The new subject for the document. subject)This will set the subject of the document. |
| public void | |
| public void | setTrapped(String
The new trapped value for the document. value)This will set the trapped of the document. |
| info | back to summary |
|---|---|
| private final COSDictionary info | |
| PDDocumentInformation | back to summary |
|---|---|
| public PDDocumentInformation() Default Constructor. | |
| PDDocumentInformation | back to summary |
|---|---|
| public PDDocumentInformation(COSDictionary dic) Constructor that is used for a preexisting dictionary.
| |
| getAuthor | back to summary |
|---|---|
| public String getAuthor() This will get the author of the document. This will return null if no author exists.
| |
| getCOSObject | back to summary |
|---|---|
| public COSDictionary getCOSObject() Implements org. This will get the underlying dictionary that this object wraps.
| |
| getCreationDate | back to summary |
|---|---|
| public Calendar getCreationDate() This will get the creation date of the document. This will return null if no creation date exists.
| |
| getCreator | back to summary |
|---|---|
| public String getCreator() This will get the creator of the document. This will return null if no creator exists.
| |
| getCustomMetadataValue | back to summary |
|---|---|
| public String getCustomMetadataValue(String fieldName) This will get the value of a custom metadata information field for the document. This will return null if one is not found. | |
| getKeywords | back to summary |
|---|---|
| public String getKeywords() This will get the keywords of the document. This will return null if no keywords exists.
| |
| getMetadataKeys | back to summary |
|---|---|
| public Set This will get the keys of all metadata information fields for the document. | |
| getModificationDate | back to summary |
|---|---|
| public Calendar getModificationDate() This will get the modification date of the document. This will return null if no modification date exists.
| |
| getProducer | back to summary |
|---|---|
| public String getProducer() This will get the producer of the document. This will return null if no producer exists.
| |
| getPropertyStringValue | back to summary |
|---|---|
| public Object getPropertyStringValue(String propertyKey) Return the properties String value. Allows to retrieve the low level date for validation purposes. | |
| getSubject | back to summary |
|---|---|
| public String getSubject() This will get the subject of the document. This will return null if no subject exists.
| |
| getTitle | back to summary |
|---|---|
| public String getTitle() This will get the title of the document. This will return null if no title exists.
| |
| getTrapped | back to summary |
|---|---|
| public String getTrapped() This will get the trapped value for the document. This will return null if one is not found.
| |
| setAuthor | back to summary |
|---|---|
| public void setAuthor(String author) This will set the author of the document.
| |
| setCreationDate | back to summary |
|---|---|
| public void setCreationDate(Calendar date) This will set the creation date of the document.
| |
| setCreator | back to summary |
|---|---|
| public void setCreator(String creator) This will set the creator of the document.
| |
| setCustomMetadataValue | back to summary |
|---|---|
| public void setCustomMetadataValue(String fieldName, String fieldValue) Set the custom metadata value. | |
| setKeywords | back to summary |
|---|---|
| public void setKeywords(String keywords) This will set the keywords of the document.
| |
| setModificationDate | back to summary |
|---|---|
| public void setModificationDate(Calendar date) This will set the modification date of the document.
| |
| setProducer | back to summary |
|---|---|
| public void setProducer(String producer) This will set the producer of the document.
| |
| setSubject | back to summary |
|---|---|
| public void setSubject(String subject) This will set the subject of the document.
| |
| setTitle | back to summary |
|---|---|
| public void setTitle(String title) This will set the title of the document.
| |
| setTrapped | back to summary |
|---|---|
| public void setTrapped(String value) This will set the trapped of the document. This will be 'True', 'False', or 'Unknown'.
| |