@Deprecated public final class PdfMetadata extends DocumentMetadata<PdfMetadataProperty>
Represents metadata in a PDF document.
Constructor and Description |
---|
PdfMetadata()
Deprecated.
Initializes a new instance of the
PdfMetadata class. |
Modifier and Type | Method and Description |
---|---|
void |
add(String key,
String value)
Deprecated.
Adds metadata with string value.
|
String |
getAuthor()
Deprecated.
Gets the document author.
|
Date |
getCreatedDate()
Deprecated.
Gets or sets the date of document creation.
|
String |
getCreator()
Deprecated.
Gets the creator of the document.
|
protected PdfMetadataProperty |
getInstance()
Deprecated.
|
String |
getKeywords()
Deprecated.
Gets the keywords.
|
Date |
getModifiedDate()
Deprecated.
Gets the date of the last modification.
|
String |
getProducer()
Deprecated.
Gets the document producer.
|
String |
getSubject()
Deprecated.
Gets the subject of the document.
|
String |
getTitle()
Deprecated.
Gets the title of the document.
|
boolean |
getTrappedFlag()
Deprecated.
Gets the trapped flag.
|
String |
getVersion()
Deprecated.
Gets the version of the format.
|
void |
setAuthor(String value)
Deprecated.
Sets the document author.
|
void |
setCreatedDate(Date value)
Deprecated.
Gets or sets the date of document creation.
|
void |
setKeywords(String value)
Deprecated.
Sets the keywords.
|
void |
setModifiedDate(Date value)
Deprecated.
Sets the date of the last modification.
|
void |
setSubject(String value)
Deprecated.
Sets the subject of the document.
|
void |
setTitle(String value)
Deprecated.
Sets the title of the document.
|
void |
setTrappedFlag(boolean value)
Deprecated.
Sets the trapped flag.
|
clear, clearBuiltInData, clearCustomData, containsKey, getCollection, getCount, isBuiltIn, isReadOnly, readPropertyValue, remove, setValueByKey
getByType, getKeys, getMetadataType, iterator, readByStringKey
public PdfMetadata()
Initializes a new instance of the PdfMetadata
class.
public final String getAuthor()
Gets the document author.
public final void setAuthor(String value)
Sets the document author.
value
- The author.public final Date getCreatedDate()
Gets or sets the date of document creation.
public final void setCreatedDate(Date value)
Gets or sets the date of document creation.
public final String getCreator()
Gets the creator of the document.
public final String getKeywords()
Gets the keywords.
public final void setKeywords(String value)
Sets the keywords.
value
- The keywords.public final Date getModifiedDate()
Gets the date of the last modification.
public final void setModifiedDate(Date value)
Sets the date of the last modification.
value
- The date of the last modification.public final String getProducer()
Gets the document producer.
public final String getSubject()
Gets the subject of the document.
public final void setSubject(String value)
Sets the subject of the document.
value
- The subject of the document.public final String getTitle()
Gets the title of the document.
public final void setTitle(String value)
Sets the title of the document.
value
- The title of the document.public final boolean getTrappedFlag()
Gets the trapped flag.
true
if the trapped flag is set; otherwise, false
.public final void setTrappedFlag(boolean value)
Sets the trapped flag.
value
- true
if the trapped flag is set; otherwise, false
.public final String getVersion()
Gets the version of the format.
public final void add(String key, String value)
Adds metadata with string value.
key
- Metadata key.value
- Metadata value.protected PdfMetadataProperty getInstance()
getInstance
in class DocumentMetadata<PdfMetadataProperty>
Copyright © 2020. All rights reserved.