Package com.compdfkit.core.document
Class CPDFInfo
java.lang.Object
com.compdfkit.core.document.CPDFInfo
Basic information of PDF document
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets PDF author.Gets creation date of PDF.Gets PDF creator.Gets PDF keywords.Gets recent modification date of PDF.Gets PDF producer.Gets PDF subject.getTitle()Gets PDF title.voidSets PDF author.voidsetCreationDate(String creationDate) Sets PDF creation date.voidsetCreator(String creator) Sets PDF creator.voidsetKeywords(String keywords) Sets PDF keywords.voidsetModificationDate(String modificationDate) Sets PDF modification date.voidsetProducer(String producer) Sets PDF producer.voidsetSubject(String subject) Sets PDF subject.voidSets PDF title.toString()
-
Constructor Details
-
CPDFInfo
-
-
Method Details
-
getTitle
Gets PDF title.- Returns:
- Returns PDF title。
-
getAuthor
Gets PDF author.- Returns:
- Returns PDF author.
-
getSubject
Gets PDF subject.- Returns:
- Returns PDF subject.
-
getCreator
Gets PDF creator.- Returns:
- Returns PDF creator.
-
getProducer
Gets PDF producer.- Returns:
- Returns PDF producer.
-
getCreationDate
Gets creation date of PDF.- Returns:
- Returns creation date of PDF.
-
getModificationDate
Gets recent modification date of PDF.- Returns:
- Returns recent modification date of PDF.
-
getKeywords
Gets PDF keywords.- Returns:
- Returns PDF keywords.
-
setTitle
Sets PDF title.- Parameters:
title- PDF title.
-
setAuthor
Sets PDF author.- Parameters:
author- PDF author.
-
setSubject
Sets PDF subject.- Parameters:
subject- PDF subject.
-
setCreator
Sets PDF creator.- Parameters:
creator- PDF creator.
-
setProducer
Sets PDF producer.- Parameters:
producer- PDF producer.
-
setCreationDate
Sets PDF creation date.CPDFDate.toStandardDate(CPDFDate)- Parameters:
creationDate- creation date.
-
setModificationDate
Sets PDF modification date.CPDFDate.toStandardDate(CPDFDate)- Parameters:
modificationDate- modification date.
-
setKeywords
Sets PDF keywords.- Parameters:
keywords- keywords.
-
toString
-