You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2015/01/31 16:54:05 UTC

svn commit: r1656207 - /pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentInformation.java

Author: msahyoun
Date: Sat Jan 31 15:54:04 2015
New Revision: 1656207

URL: http://svn.apache.org/r1656207
Log:
PDFBOX-2619 allow to retrieve the properties string value

Modified:
    pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentInformation.java

Modified: pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentInformation.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentInformation.java?rev=1656207&r1=1656206&r2=1656207&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentInformation.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocumentInformation.java Sat Jan 31 15:54:04 2015
@@ -79,6 +79,21 @@ public class PDDocumentInformation imple
     {
         return info;
     }
+    
+    /**
+     * Return the properties String value.
+     * <p>
+     * Allows to retrieve the
+     * low level date for validation purposes.
+     * </p> 
+     * 
+     * @param propertyKey the dictionaries key
+     * @return the properties value
+     */
+     public Object getPropertyStringValue(String propertyKey)
+     {
+         return info.getString(propertyKey);
+     }
 
     /**
      * This will get the title of the document.  This will return null if no title exists.