Class PdfProperties


  • public class PdfProperties
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String KEYWORDS
      Keywords.
      static java.lang.String PART  
      static java.lang.String PRODUCER
      The Producer.
      static java.lang.String VERSION
      The PDF file version (for example: 1.0, 1.3, and so on).
    • Constructor Summary

      Constructors 
      Constructor Description
      PdfProperties()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void setKeywords​(XMPMeta xmpMeta, java.lang.String keywords)
      Adds keywords.
      static void setProducer​(XMPMeta xmpMeta, java.lang.String producer)
      Adds the producer.
      static void setVersion​(XMPMeta xmpMeta, java.lang.String version)
      Adds the version.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PdfProperties

        public PdfProperties()
    • Method Detail

      • setKeywords

        public static void setKeywords​(XMPMeta xmpMeta,
                                       java.lang.String keywords)
                                throws XMPException
        Adds keywords.
        Parameters:
        xmpMeta -
        keywords -
        Throws:
        XMPException
      • setProducer

        public static void setProducer​(XMPMeta xmpMeta,
                                       java.lang.String producer)
                                throws XMPException
        Adds the producer.
        Parameters:
        xmpMeta -
        producer -
        Throws:
        XMPException
      • setVersion

        public static void setVersion​(XMPMeta xmpMeta,
                                      java.lang.String version)
                               throws XMPException
        Adds the version.
        Parameters:
        xmpMeta -
        version -
        Throws:
        XMPException