This is the document metadata. Each getXXX method will return the entry if
it exists or null if it does not exist. If you pass in null for the setXXX
method then it will clear the value.
author: Ben Litchfield version: $Revision: 1.12 $
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.
Parameters: fieldName - Name of custom metadata field from pdf document.
This will get the creation date of the document. This will return null if no creation date exists.
The creation date of the document. throws: IOException - If there is an error creating the date.
This will get the value of a custom metadata information field for the document.
This will return null if one is not found.
Parameters: fieldName - Name of custom metadata field from pdf document. String Value of metadata field author: Gerardo Ortiz
This will get the modification date of the document. This will return null if no modification date exists.
The modification date of the document. throws: IOException - If there is an error creating the date.
This will set the creator of the document.
Parameters: creator - The new creator for the document.
setCustomMetadataValue
public void setCustomMetadataValue(String fieldName, String fieldValue)(Code)
Set the custom metadata value.
Parameters: fieldName - The name of the custom metadata field. Parameters: fieldValue - The value to the custom metadata field.