Class CPDFInfo

java.lang.Object
com.compdfkit.core.document.CPDFInfo

public class CPDFInfo extends Object
Basic information of PDF document
  • Constructor Details

  • Method Details

    • getTitle

      public String getTitle()
      Gets PDF title.
      Returns:
      Returns PDF title。
    • getAuthor

      public String getAuthor()
      Gets PDF author.
      Returns:
      Returns PDF author.
    • getSubject

      public String getSubject()
      Gets PDF subject.
      Returns:
      Returns PDF subject.
    • getCreator

      public String getCreator()
      Gets PDF creator.
      Returns:
      Returns PDF creator.
    • getProducer

      public String getProducer()
      Gets PDF producer.
      Returns:
      Returns PDF producer.
    • getCreationDate

      public String getCreationDate()
      Gets creation date of PDF.
      Returns:
      Returns creation date of PDF.
    • getModificationDate

      public String getModificationDate()
      Gets recent modification date of PDF.
      Returns:
      Returns recent modification date of PDF.
    • getKeywords

      public String getKeywords()
      Gets PDF keywords.
      Returns:
      Returns PDF keywords.
    • setTitle

      public void setTitle(String title)
      Sets PDF title.
      Parameters:
      title - PDF title.
    • setAuthor

      public void setAuthor(String author)
      Sets PDF author.
      Parameters:
      author - PDF author.
    • setSubject

      public void setSubject(String subject)
      Sets PDF subject.
      Parameters:
      subject - PDF subject.
    • setCreator

      public void setCreator(String creator)
      Sets PDF creator.
      Parameters:
      creator - PDF creator.
    • setProducer

      public void setProducer(String producer)
      Sets PDF producer.
      Parameters:
      producer - PDF producer.
    • setCreationDate

      public void setCreationDate(String creationDate)
      Sets PDF creation date. CPDFDate.toStandardDate(CPDFDate)
      Parameters:
      creationDate - creation date.
    • setModificationDate

      public void setModificationDate(String modificationDate)
      Sets PDF modification date. CPDFDate.toStandardDate(CPDFDate)
      Parameters:
      modificationDate - modification date.
    • setKeywords

      public void setKeywords(String keywords)
      Sets PDF keywords.
      Parameters:
      keywords - keywords.
    • toString

      public String toString()
      Overrides:
      toString in class Object