com.itextpdf.text.xml.xmp
Class PdfProperties

java.lang.Object
  extended by com.itextpdf.text.xml.xmp.PdfProperties

public class PdfProperties
extends Object


Field Summary
static String KEYWORDS
          Keywords.
static String PART
           
static String PRODUCER
          The Producer.
static String VERSION
          The PDF file version (for example: 1.0, 1.3, and so on).
 
Constructor Summary
PdfProperties()
           
 
Method Summary
static void setKeywords(XMPMeta xmpMeta, String keywords)
          Adds keywords.
static void setProducer(XMPMeta xmpMeta, String producer)
          Adds the producer.
static void setVersion(XMPMeta xmpMeta, String version)
          Adds the version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEYWORDS

public static final String KEYWORDS
Keywords.

See Also:
Constant Field Values

VERSION

public static final String VERSION
The PDF file version (for example: 1.0, 1.3, and so on).

See Also:
Constant Field Values

PRODUCER

public static final String PRODUCER
The Producer.

See Also:
Constant Field Values

PART

public static final String PART
See Also:
Constant Field Values
Constructor Detail

PdfProperties

public PdfProperties()
Method Detail

setKeywords

public static void setKeywords(XMPMeta xmpMeta,
                               String keywords)
                        throws XMPException
Adds keywords.

Parameters:
xmpMeta -
keywords -
Throws:
XMPException

setProducer

public static void setProducer(XMPMeta xmpMeta,
                               String producer)
                        throws XMPException
Adds the producer.

Parameters:
xmpMeta -
producer -
Throws:
XMPException

setVersion

public static void setVersion(XMPMeta xmpMeta,
                              String version)
                       throws XMPException
Adds the version.

Parameters:
xmpMeta -
version -
Throws:
XMPException


Copyright © 2014. All Rights Reserved.