Class InfoDictionaryImpl
- java.lang.Object
-
- org.verapdf.metadata.fixer.gf.impl.model.InfoDictionaryImpl
-
- All Implemented Interfaces:
InfoDictionary,AdobePDF,BasicSchema,DublinCore,XMPBasic
public class InfoDictionaryImpl extends Object implements InfoDictionary
- Author:
- Maksim Bezrukov
-
-
Constructor Summary
Constructors Constructor Description InfoDictionaryImpl(COSObject info, COSDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAuthor()Return Author entry.StringgetCreationDate()Return Creation Date entry.StringgetCreator()Return Creator entry.StringgetKeywords()Return Keywords entry.StringgetModificationDate()Return Modification Date entry.StringgetProducer()Return Producer entry.StringgetSubject()Return Subject entry.StringgetTitle()Return Title entry.booleanisNeedToBeUpdated()voidsetAuthor(String author)Set Author entry.voidsetCreationDate(String creationDate)Set Creation Date entry.voidsetCreator(String creator)Set Creator entry.voidsetKeywords(String keywords)Set Keywords entry.voidsetModificationDate(String modificationDate)Set Modification Date entry.voidsetNeedToBeUpdated(boolean needToBeUpdated)voidsetProducer(String producer)Set Producer entry.voidsetSubject(String subject)Set Subject entry.voidsetTitle(String title)Set Title entry.
-
-
-
Constructor Detail
-
InfoDictionaryImpl
public InfoDictionaryImpl(COSObject info, COSDocument doc)
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:DublinCoreReturn Title entry. For information dictionary represented byTitleentry, in metadata -titleentry- Specified by:
getTitlein interfaceDublinCore- Returns:
- Title entry
-
setTitle
public void setTitle(String title)
Description copied from interface:DublinCoreSet Title entry. For information dictionary represented byTitleentry, in metadata -titleentry- Specified by:
setTitlein interfaceDublinCore- Parameters:
title- new Title value
-
getSubject
public String getSubject()
Description copied from interface:DublinCoreReturn Subject entry. For information dictionary represented bySubjectentry, in metadata -descriptionentry- Specified by:
getSubjectin interfaceDublinCore- Returns:
- Subject entry
-
setSubject
public void setSubject(String subject)
Description copied from interface:DublinCoreSet Subject entry. For information dictionary represented bySubjectentry, in metadata -descriptionentry- Specified by:
setSubjectin interfaceDublinCore- Parameters:
subject- new Subject value
-
getAuthor
public String getAuthor()
Description copied from interface:DublinCoreReturn Author entry. For information dictionary represented byAuthorentry, in metadata -creatorentry- Specified by:
getAuthorin interfaceDublinCore- Returns:
- Author entry
-
setAuthor
public void setAuthor(String author)
Description copied from interface:DublinCoreSet Author entry. For information dictionary represented byAuthorentry, in metadata -creatorentry- Specified by:
setAuthorin interfaceDublinCore- Parameters:
author- new Author value
-
getProducer
public String getProducer()
Description copied from interface:AdobePDFReturn Producer entry. For information dictionary and metadata Adobe PDF schema represented byProducerentry- Specified by:
getProducerin interfaceAdobePDF- Returns:
- Producer entry
-
setProducer
public void setProducer(String producer)
Description copied from interface:AdobePDFSet Producer entry. For information dictionary and metadata Adobe PDF schema represented byProducerentry- Specified by:
setProducerin interfaceAdobePDF- Parameters:
producer- new value for producer
-
getKeywords
public String getKeywords()
Description copied from interface:AdobePDFReturn Keywords entry. For information dictionary and metadata Adobe PDF schema represented byKeywordsentry- Specified by:
getKeywordsin interfaceAdobePDF- Returns:
- Keywords entry
-
setKeywords
public void setKeywords(String keywords)
Description copied from interface:AdobePDFSet Keywords entry. For information dictionary and metadata Adobe PDF schema represented byKeywordsentry- Specified by:
setKeywordsin interfaceAdobePDF- Parameters:
keywords- new value for keywords
-
getCreator
public String getCreator()
Description copied from interface:XMPBasicReturn Creator entry. For information dictionary represented byCreatorentry, in metadata -CreatorToolentry- Specified by:
getCreatorin interfaceXMPBasic- Returns:
- Creator entry
-
setCreator
public void setCreator(String creator)
Description copied from interface:XMPBasicSet Creator entry. For information dictionary represented byCreatorentry, in metadata -CreatorToolentry- Specified by:
setCreatorin interfaceXMPBasic- Parameters:
creator- new CreatorTool value
-
getCreationDate
public String getCreationDate()
Description copied from interface:XMPBasicReturn Creation Date entry. For information dictionary represented byCreationDateentry, in metadata -CreationDateentry- Specified by:
getCreationDatein interfaceXMPBasic- Returns:
- Creation Date entry
-
setCreationDate
public void setCreationDate(String creationDate)
Description copied from interface:XMPBasicSet Creation Date entry. For information dictionary represented byCreationDateentry, in metadata -CreationDateentry- Specified by:
setCreationDatein interfaceXMPBasic- Parameters:
creationDate- new Creation Date value
-
getModificationDate
public String getModificationDate()
Description copied from interface:XMPBasicReturn Modification Date entry. For information dictionary represented byModDateentry, in metadata -ModifyDateentry- Specified by:
getModificationDatein interfaceXMPBasic- Returns:
- Modification Date entry
-
setModificationDate
public void setModificationDate(String modificationDate)
Description copied from interface:XMPBasicSet Modification Date entry. For information dictionary represented byModDateentry, in metadata -ModifyDateentry- Specified by:
setModificationDatein interfaceXMPBasic- Parameters:
modificationDate- new Modification Date value
-
isNeedToBeUpdated
public boolean isNeedToBeUpdated()
- Specified by:
isNeedToBeUpdatedin interfaceInfoDictionary
-
setNeedToBeUpdated
public void setNeedToBeUpdated(boolean needToBeUpdated)
- Specified by:
setNeedToBeUpdatedin interfaceBasicSchema
-
-