DocumentInfo
Leave feedback
On this page
Inheritance: java.lang.Object
public class DocumentInfo
Provides read-only metadata about a loaded document, such as format, page count, title, author, and encryption status.
| Constructor | Description |
|---|---|
| DocumentInfo(FileFormat fileFormat, int pageCount, String title, String author, boolean encrypted) |
| Method | Description |
|---|---|
| getFileFormat() | |
| getPageCount() | |
| getTitle() | |
| getAuthor() | |
| isEncrypted() |
public DocumentInfo(FileFormat fileFormat, int pageCount, String title, String author, boolean encrypted)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| fileFormat | FileFormat | |
| pageCount | int | |
| title | java.lang.String | |
| author | java.lang.String | |
| encrypted | boolean |
public FileFormat getFileFormat()
Returns: FileFormat
public int getPageCount()
Returns: int
public String getTitle()
Returns: java.lang.String
public String getAuthor()
Returns: java.lang.String
public boolean isEncrypted()
Returns: boolean
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.