public class PdfProperties extends Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
PdfProperties() |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final String KEYWORDS
public static final String VERSION
public static final String PRODUCER
public static final String PART
public static void setKeywords(XMPMeta xmpMeta, String keywords) throws XMPException
xmpMeta
-
keywords
-
XMPException
public static void setProducer(XMPMeta xmpMeta, String producer) throws XMPException
xmpMeta
-
producer
-
XMPException
public static void setVersion(XMPMeta xmpMeta, String version) throws XMPException
xmpMeta
-
version
-
XMPException
Copyright © 1998–2018. All rights reserved.