Class Metadata_Api
- java.lang.Object
- 
- com.ironsoftware.ironpdf.internal.staticapi.Metadata_Api
 
- 
 public final class Metadata_Api extends Object The type Metadata api.
- 
- 
Constructor SummaryConstructors Constructor Description Metadata_Api()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetAuthor(InternalPdfDocument internalPdfDocument)Gets the Author of the document.static StringgetCreationDate(InternalPdfDocument internalPdfDocument)Gets the PDF file creation DateTime.static StringgetCreator(InternalPdfDocument internalPdfDocument)Gets the Creator of the document.static StringgetKeywords(InternalPdfDocument internalPdfDocument)Gets Keywords of the document.static StringgetMetadata(InternalPdfDocument internalPdfDocument, String key)Gets any metadata value of the document form given key.static StringgetModifiedDate(InternalPdfDocument internalPdfDocument)Gets the PDF file last-modified DateTime.static StringgetProducer(InternalPdfDocument internalPdfDocument)Gets the Producer of the document.static StringgetSubject(InternalPdfDocument internalPdfDocument)Gets Subject of the document.static StringgetTitle(InternalPdfDocument internalPdfDocument)Gets the Title of the document.static voidremoveMetadata(InternalPdfDocument internalPdfDocument, String key)Method for removing Metadata property by its name.static voidsetAuthor(InternalPdfDocument internalPdfDocument, String value)Sets the Author of the document.static voidsetCreationDate(InternalPdfDocument internalPdfDocument, String value)Sets the PDF file creation DateTime.static voidsetCreator(InternalPdfDocument internalPdfDocument, String value)Sets the Creator of the document.static voidsetKeywords(InternalPdfDocument internalPdfDocument, String value)Sets Keywords of the document.static voidsetMetadata(InternalPdfDocument internalPdfDocument, String key, String value)Sets any metadata value of the document form given key.static voidsetModifiedDate(InternalPdfDocument internalPdfDocument, String value)Gets the PDF file last-modified DateTime.static voidsetProducer(InternalPdfDocument internalPdfDocument, String value)Sets the Producer of the document.static voidsetSubject(InternalPdfDocument internalPdfDocument, String value)Sets the Subject of the document.static voidsetTitle(InternalPdfDocument internalPdfDocument, String value)Sets the Title of the document.
 
- 
- 
- 
Method Detail- 
getAuthorpublic static String getAuthor(InternalPdfDocument internalPdfDocument) Gets the Author of the document.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the author
 
 - 
getMetadatapublic static String getMetadata(InternalPdfDocument internalPdfDocument, String key) Gets any metadata value of the document form given key.- Parameters:
- internalPdfDocument- the internal pdf document
- key- the key
- Returns:
- the metadata
 
 - 
setAuthorpublic static void setAuthor(InternalPdfDocument internalPdfDocument, String value) Sets the Author of the document.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
setMetadatapublic static void setMetadata(InternalPdfDocument internalPdfDocument, String key, String value) Sets any metadata value of the document form given key.- Parameters:
- internalPdfDocument- the internal pdf document
- key- the key
- value- the value
 
 - 
getCreationDatepublic static String getCreationDate(InternalPdfDocument internalPdfDocument) Gets the PDF file creation DateTime.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the creation date
 
 - 
setCreationDatepublic static void setCreationDate(InternalPdfDocument internalPdfDocument, String value) Sets the PDF file creation DateTime.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
getModifiedDatepublic static String getModifiedDate(InternalPdfDocument internalPdfDocument) Gets the PDF file last-modified DateTime.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the modified date
 
 - 
setModifiedDatepublic static void setModifiedDate(InternalPdfDocument internalPdfDocument, String value) Gets the PDF file last-modified DateTime.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
getCreatorpublic static String getCreator(InternalPdfDocument internalPdfDocument) Gets the Creator of the document.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the creator
 
 - 
setCreatorpublic static void setCreator(InternalPdfDocument internalPdfDocument, String value) Sets the Creator of the document.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
getKeywordspublic static String getKeywords(InternalPdfDocument internalPdfDocument) Gets Keywords of the document. This helps search indexes and operating systems correctly index the PDF.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the keywords
 
 - 
setKeywordspublic static void setKeywords(InternalPdfDocument internalPdfDocument, String value) Sets Keywords of the document. This helps search indexes and operating systems correctly index the PDF.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
getProducerpublic static String getProducer(InternalPdfDocument internalPdfDocument) Gets the Producer of the document.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the producer
 
 - 
setProducerpublic static void setProducer(InternalPdfDocument internalPdfDocument, String value) Sets the Producer of the document.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
getSubjectpublic static String getSubject(InternalPdfDocument internalPdfDocument) Gets Subject of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the subject
 
 - 
setSubjectpublic static void setSubject(InternalPdfDocument internalPdfDocument, String value) Sets the Subject of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
getTitlepublic static String getTitle(InternalPdfDocument internalPdfDocument) Gets the Title of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Parameters:
- internalPdfDocument- the internal pdf document
- Returns:
- the title
 
 - 
setTitlepublic static void setTitle(InternalPdfDocument internalPdfDocument, String value) Sets the Title of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Parameters:
- internalPdfDocument- the internal pdf document
- value- the value
 
 - 
removeMetadatapublic static void removeMetadata(InternalPdfDocument internalPdfDocument, String key) Method for removing Metadata property by its name.- Parameters:
- internalPdfDocument- the internal pdf document
- key- The name of the property.
 
 
- 
 
-