Class MetadataManager
java.lang.Object
com.ironsoftware.ironpdf.metadata.MetadataManager
Class used to read and edit MetaData in a 
PdfDocument.
 - 
Constructor SummaryConstructorsConstructorDescriptionMetadataManager(InternalPdfDocument internalPdfDocument) Please get MetadataManager byPdfDocument.getMetadata()instead.
- 
Method SummaryModifier and TypeMethodDescriptiongetAnyMetadata(String key) Gets any metadata value of the document form given key.Gets the Author of the document.Gets the PDF file creation DateTime.Gets the Creator of the document.Gets Keywords of the document.Gets the Producer of the document.Gets Subject of the document.getTitle()Gets the Title of the document.voidremoveMetadata(String key) Method for removing Metadata property by its name.voidsetAnyMetadata(String key, String value) Sets any metadata value of the document form given key.voidSets the Author of the document.voidsetCreationDate(String value) Sets the PDF file creation DateTime.voidsetCreator(String value) Sets the Creator of the document.voidsetKeywords(String value) Sets Keywords of the document.Gets the PDF file last-modified DateTime.voidsetModifiedDate(String value) Sets the PDF file last-modified DateTime.voidsetProducer(String value) Sets the Producer of the document.voidsetSubject(String value) Sets the Subject of the document.voidSets the Title of the document.
- 
Constructor Details- 
MetadataManagerPlease get MetadataManager byPdfDocument.getMetadata()instead.- Parameters:
- internalPdfDocument- the internal pdf document
 
 
- 
- 
Method Details- 
getAuthorGets the Author of the document.- Returns:
- the author
 
- 
getAnyMetadataGets any metadata value of the document form given key.- Parameters:
- key- the key
- Returns:
- the metadata value
 
- 
setAuthorSets the Author of the document.- Parameters:
- value- the value
 
- 
setAnyMetadataSets any metadata value of the document form given key.- Parameters:
- key- the key
- value- the value
 
- 
getCreationDateGets the PDF file creation DateTime.- Returns:
- the creation date
 
- 
setCreationDateSets the PDF file creation DateTime.- Parameters:
- value- the value
 
- 
setModifiedDateGets the PDF file last-modified DateTime.- Returns:
- the modified date
 
- 
setModifiedDateSets the PDF file last-modified DateTime.- Parameters:
- value- the value
 
- 
getCreatorGets the Creator of the document.- Returns:
- the creator
 
- 
setCreatorSets the Creator of the document.- Parameters:
- value- the value
 
- 
getKeywordsGets Keywords of the document. This helps search indexes and operating systems correctly index the PDF.- Returns:
- the keywords
 
- 
setKeywordsSets Keywords of the document. This helps search indexes and operating systems correctly index the PDF.- Parameters:
- value- the value
 
- 
getProducerGets the Producer of the document.- Returns:
- the producer
 
- 
setProducerSets the Producer of the document.- Parameters:
- value- the value
 
- 
getSubjectGets Subject of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Returns:
- the subject
 
- 
setSubjectSets the Subject of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Parameters:
- value- the value
 
- 
getTitleGets the Title of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Returns:
- the title
 
- 
setTitleSets the Title of the document. This helps search indexes and operating systems correctly index the PDF, and may appear in PDF viewer software.- Parameters:
- value- the value
 
- 
removeMetadataMethod for removing Metadata property by its name.- Parameters:
- key- The name of the property.
 
 
-