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 String
getAuthor()
Return Author entry.String
getCreationDate()
Return Creation Date entry.String
getCreator()
Return Creator entry.String
getKeywords()
Return Keywords entry.String
getModificationDate()
Return Modification Date entry.String
getProducer()
Return Producer entry.String
getSubject()
Return Subject entry.String
getTitle()
Return Title entry.boolean
isNeedToBeUpdated()
void
setAuthor(String author)
Set Author entry.void
setCreationDate(String creationDate)
Set Creation Date entry.void
setCreator(String creator)
Set Creator entry.void
setKeywords(String keywords)
Set Keywords entry.void
setModificationDate(String modificationDate)
Set Modification Date entry.void
setNeedToBeUpdated(boolean needToBeUpdated)
void
setProducer(String producer)
Set Producer entry.void
setSubject(String subject)
Set Subject entry.void
setTitle(String title)
Set Title entry.
-
-
-
Constructor Detail
-
InfoDictionaryImpl
public InfoDictionaryImpl(COSObject info, COSDocument doc)
-
-
Method Detail
-
getTitle
public String getTitle()
Description copied from interface:DublinCore
Return Title entry. For information dictionary represented byTitle
entry, in metadata -title
entry- Specified by:
getTitle
in interfaceDublinCore
- Returns:
- Title entry
-
setTitle
public void setTitle(String title)
Description copied from interface:DublinCore
Set Title entry. For information dictionary represented byTitle
entry, in metadata -title
entry- Specified by:
setTitle
in interfaceDublinCore
- Parameters:
title
- new Title value
-
getSubject
public String getSubject()
Description copied from interface:DublinCore
Return Subject entry. For information dictionary represented bySubject
entry, in metadata -description
entry- Specified by:
getSubject
in interfaceDublinCore
- Returns:
- Subject entry
-
setSubject
public void setSubject(String subject)
Description copied from interface:DublinCore
Set Subject entry. For information dictionary represented bySubject
entry, in metadata -description
entry- Specified by:
setSubject
in interfaceDublinCore
- Parameters:
subject
- new Subject value
-
getAuthor
public String getAuthor()
Description copied from interface:DublinCore
Return Author entry. For information dictionary represented byAuthor
entry, in metadata -creator
entry- Specified by:
getAuthor
in interfaceDublinCore
- Returns:
- Author entry
-
setAuthor
public void setAuthor(String author)
Description copied from interface:DublinCore
Set Author entry. For information dictionary represented byAuthor
entry, in metadata -creator
entry- Specified by:
setAuthor
in interfaceDublinCore
- Parameters:
author
- new Author value
-
getProducer
public String getProducer()
Description copied from interface:AdobePDF
Return Producer entry. For information dictionary and metadata Adobe PDF schema represented byProducer
entry- Specified by:
getProducer
in interfaceAdobePDF
- Returns:
- Producer entry
-
setProducer
public void setProducer(String producer)
Description copied from interface:AdobePDF
Set Producer entry. For information dictionary and metadata Adobe PDF schema represented byProducer
entry- Specified by:
setProducer
in interfaceAdobePDF
- Parameters:
producer
- new value for producer
-
getKeywords
public String getKeywords()
Description copied from interface:AdobePDF
Return Keywords entry. For information dictionary and metadata Adobe PDF schema represented byKeywords
entry- Specified by:
getKeywords
in interfaceAdobePDF
- Returns:
- Keywords entry
-
setKeywords
public void setKeywords(String keywords)
Description copied from interface:AdobePDF
Set Keywords entry. For information dictionary and metadata Adobe PDF schema represented byKeywords
entry- Specified by:
setKeywords
in interfaceAdobePDF
- Parameters:
keywords
- new value for keywords
-
getCreator
public String getCreator()
Description copied from interface:XMPBasic
Return Creator entry. For information dictionary represented byCreator
entry, in metadata -CreatorTool
entry- Specified by:
getCreator
in interfaceXMPBasic
- Returns:
- Creator entry
-
setCreator
public void setCreator(String creator)
Description copied from interface:XMPBasic
Set Creator entry. For information dictionary represented byCreator
entry, in metadata -CreatorTool
entry- Specified by:
setCreator
in interfaceXMPBasic
- Parameters:
creator
- new CreatorTool value
-
getCreationDate
public String getCreationDate()
Description copied from interface:XMPBasic
Return Creation Date entry. For information dictionary represented byCreationDate
entry, in metadata -CreationDate
entry- Specified by:
getCreationDate
in interfaceXMPBasic
- Returns:
- Creation Date entry
-
setCreationDate
public void setCreationDate(String creationDate)
Description copied from interface:XMPBasic
Set Creation Date entry. For information dictionary represented byCreationDate
entry, in metadata -CreationDate
entry- Specified by:
setCreationDate
in interfaceXMPBasic
- Parameters:
creationDate
- new Creation Date value
-
getModificationDate
public String getModificationDate()
Description copied from interface:XMPBasic
Return Modification Date entry. For information dictionary represented byModDate
entry, in metadata -ModifyDate
entry- Specified by:
getModificationDate
in interfaceXMPBasic
- Returns:
- Modification Date entry
-
setModificationDate
public void setModificationDate(String modificationDate)
Description copied from interface:XMPBasic
Set Modification Date entry. For information dictionary represented byModDate
entry, in metadata -ModifyDate
entry- Specified by:
setModificationDate
in interfaceXMPBasic
- Parameters:
modificationDate
- new Modification Date value
-
isNeedToBeUpdated
public boolean isNeedToBeUpdated()
- Specified by:
isNeedToBeUpdated
in interfaceInfoDictionary
-
setNeedToBeUpdated
public void setNeedToBeUpdated(boolean needToBeUpdated)
- Specified by:
setNeedToBeUpdated
in interfaceBasicSchema
-
-