public final class Metadata_Api extends Object
| Constructor and Description | 
|---|
Metadata_Api()  | 
| Modifier and Type | Method and Description | 
|---|---|
static String | 
getAuthor(InternalPdfDocument internalPdfDocument)
Gets the Author of the document. 
 | 
static String | 
getCreationDate(InternalPdfDocument internalPdfDocument)
Gets the PDF file creation DateTime. 
 | 
static String | 
getCreator(InternalPdfDocument internalPdfDocument)
Gets the Creator of the document. 
 | 
static String | 
getKeywords(InternalPdfDocument internalPdfDocument)
Gets Keywords of the document. 
 | 
static String | 
getMetadata(InternalPdfDocument internalPdfDocument,
           String key)
Gets any metadata value of the document form given key. 
 | 
static String | 
getModifiedDate(InternalPdfDocument internalPdfDocument)
Gets the PDF file last-modified DateTime. 
 | 
static String | 
getProducer(InternalPdfDocument internalPdfDocument)
Gets the Producer of the document. 
 | 
static String | 
getSubject(InternalPdfDocument internalPdfDocument)
Gets Subject of the document. 
 | 
static String | 
getTitle(InternalPdfDocument internalPdfDocument)
Gets the Title of the document. 
 | 
static void | 
removeMetadata(InternalPdfDocument internalPdfDocument,
              String key)
Method for removing Metadata property by its name. 
 | 
static void | 
setAuthor(InternalPdfDocument internalPdfDocument,
         String value)
Sets the Author of the document. 
 | 
static void | 
setCreationDate(InternalPdfDocument internalPdfDocument,
               String value)
Sets the PDF file creation DateTime. 
 | 
static void | 
setCreator(InternalPdfDocument internalPdfDocument,
          String value)
Sets the Creator of the document. 
 | 
static void | 
setKeywords(InternalPdfDocument internalPdfDocument,
           String value)
Sets Keywords of the document. 
 | 
static void | 
setMetadata(InternalPdfDocument internalPdfDocument,
           String key,
           String value)
Sets any metadata value of the document form given key. 
 | 
static void | 
setModifiedDate(InternalPdfDocument internalPdfDocument,
               String value)
Gets the PDF file last-modified DateTime. 
 | 
static void | 
setProducer(InternalPdfDocument internalPdfDocument,
           String value)
Sets the Producer of the document. 
 | 
static void | 
setSubject(InternalPdfDocument internalPdfDocument,
          String value)
Sets the Subject of the document. 
 | 
static void | 
setTitle(InternalPdfDocument internalPdfDocument,
        String value)
Sets the Title of the document. 
 | 
public static String getAuthor(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static String getMetadata(InternalPdfDocument internalPdfDocument, String key)
internalPdfDocument - the internal pdf documentkey - the keypublic static void setAuthor(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static void setMetadata(InternalPdfDocument internalPdfDocument, String key, String value)
internalPdfDocument - the internal pdf documentkey - the keyvalue - the valuepublic static String getCreationDate(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setCreationDate(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static String getModifiedDate(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setModifiedDate(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static String getCreator(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setCreator(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static String getKeywords(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setKeywords(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static String getProducer(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setProducer(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static String getSubject(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setSubject(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static String getTitle(InternalPdfDocument internalPdfDocument)
internalPdfDocument - the internal pdf documentpublic static void setTitle(InternalPdfDocument internalPdfDocument, String value)
internalPdfDocument - the internal pdf documentvalue - the valuepublic static void removeMetadata(InternalPdfDocument internalPdfDocument, String key)
internalPdfDocument - the internal pdf documentkey - The name of the property.Copyright © 2022–2023 Iron Software. All rights reserved.