Package com.geniusscansdk.pdf
Class PDFDocument
- java.lang.Object
-
- com.geniusscansdk.pdf.PDFDocument
-
public final class PDFDocument extends java.lang.Object
Describes the structure of a PDF document for the PDF generator.
-
-
Constructor Summary
Constructors Constructor Description PDFDocument(java.lang.String title, java.lang.String password, java.lang.String keywords, java.util.Date creationDate, java.util.Date lastUpdateDate, java.util.ArrayList<PDFPage> pages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Date
getCreationDate()
If provided, this date will be included in the PDF document propertiesjava.lang.String
getKeywords()
If provided, the keywords will be included in the PDF document propertiesjava.util.Date
getLastUpdateDate()
If provided, this date will be included in the PDF document propertiesjava.util.ArrayList<PDFPage>
getPages()
List of pages that will be included in the PDF documentjava.lang.String
getPassword()
If provided, this password will be used to protect the PDF document.java.lang.String
getTitle()
If provided, this title will be included in the PDF document propertiesjava.lang.String
toString()
-
-
-
Constructor Detail
-
PDFDocument
public PDFDocument(java.lang.String title, java.lang.String password, java.lang.String keywords, java.util.Date creationDate, java.util.Date lastUpdateDate, java.util.ArrayList<PDFPage> pages)
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
If provided, this title will be included in the PDF document properties
-
getPassword
public java.lang.String getPassword()
If provided, this password will be used to protect the PDF document. It will need to be entered to view or edit the document. RC4 encryption algorithm is used with a 128-bit key.
-
getKeywords
public java.lang.String getKeywords()
If provided, the keywords will be included in the PDF document properties
-
getCreationDate
public java.util.Date getCreationDate()
If provided, this date will be included in the PDF document properties
-
getLastUpdateDate
public java.util.Date getLastUpdateDate()
If provided, this date will be included in the PDF document properties
-
getPages
public java.util.ArrayList<PDFPage> getPages()
List of pages that will be included in the PDF document
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-