public class DublinCoreProperties extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONTRIBUTOR
External Contributors to the resource (other than the authors).
|
static String |
COVERAGE
The extent or scope of the resource.
|
static String |
CREATOR
The authors of the resource (listed in order of precedence, if significant).
|
static String |
DATE
Date(s) that something interesting happened to the resource.
|
static String |
DESCRIPTION
A textual description of the content of the resource.
|
static String |
FORMAT
The file format used when saving the resource.
|
static String |
IDENTIFIER
Unique identifier of the resource.
|
static String |
LANGUAGE
An unordered array specifying the languages used in the resource.
|
static String |
PUBLISHER
Publishers.
|
static String |
RELATION
Relationships to other documents.
|
static String |
RIGHTS
Informal rights statement, selected by language.
|
static String |
SOURCE
Unique identifier of the work from which this resource was derived.
|
static String |
SUBJECT
An unordered array of descriptive phrases or keywords that specify the topic of the content of the resource.
|
static String |
TITLE
The title of the document, or the name given to the resource.
|
static String |
TYPE
A document type; for example, novel, poem, or working paper.
|
Constructor and Description |
---|
DublinCoreProperties() |
Modifier and Type | Method and Description |
---|---|
static void |
addAuthor(XMPMeta xmpMeta, String author)
Adds a single author.
|
static void |
addDescription(XMPMeta xmpMeta, String desc)
Adds a description.
|
static void |
addPublisher(XMPMeta xmpMeta, String publisher)
Adds a single publisher.
|
static void |
addSubject(XMPMeta xmpMeta, String subject)
Adds a subject.
|
static void |
addTitle(XMPMeta xmpMeta, String title)
Adds a title.
|
static void |
setAuthor(XMPMeta xmpMeta, String[] author)
Sets an array of authors.
|
static void |
setDescription(XMPMeta xmpMeta, String desc, String genericLang, String specificLang)
Sets a description.
|
static void |
setPublisher(XMPMeta xmpMeta, String[] publisher)
Sets an array of publishers.
|
static void |
setSubject(XMPMeta xmpMeta, String[] subject)
Sets a subject.
|
static void |
setTitle(XMPMeta xmpMeta, String title, String genericLang, String specificLang)
Sets a title.
|
public static final String CONTRIBUTOR
public static final String COVERAGE
public static final String CREATOR
public static final String DATE
public static final String DESCRIPTION
public static final String FORMAT
public static final String IDENTIFIER
public static final String LANGUAGE
public static final String PUBLISHER
public static final String RELATION
public static final String RIGHTS
public static final String SOURCE
public static final String SUBJECT
public static final String TITLE
public static final String TYPE
public static void addTitle(XMPMeta xmpMeta, String title) throws XMPException
xmpMeta
-
title
-
XMPException
public static void setTitle(XMPMeta xmpMeta, String title, String genericLang, String specificLang) throws XMPException
xmpMeta
-
title
-
genericLang
- The name of the generic language
specificLang
- The name of the specific language
XMPException
public static void addDescription(XMPMeta xmpMeta, String desc) throws XMPException
xmpMeta
-
desc
-
XMPException
public static void setDescription(XMPMeta xmpMeta, String desc, String genericLang, String specificLang) throws XMPException
xmpMeta
-
desc
-
genericLang
- The name of the generic language
specificLang
- The name of the specific language
XMPException
public static void addSubject(XMPMeta xmpMeta, String subject) throws XMPException
xmpMeta
-
subject
-
XMPException
public static void setSubject(XMPMeta xmpMeta, String[] subject) throws XMPException
xmpMeta
-
subject
- array of subjects
XMPException
public static void addAuthor(XMPMeta xmpMeta, String author) throws XMPException
xmpMeta
-
author
-
XMPException
public static void setAuthor(XMPMeta xmpMeta, String[] author) throws XMPException
xmpMeta
-
author
-
XMPException
public static void addPublisher(XMPMeta xmpMeta, String publisher) throws XMPException
xmpMeta
-
publisher
-
XMPException
public static void setPublisher(XMPMeta xmpMeta, String[] publisher) throws XMPException
xmpMeta
-
publisher
-
XMPException
Copyright © 1998–2016. All rights reserved.