DocumentInfo

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.

Constructors

Methods

DocumentInfo(FileFormat fileFormat, int pageCount, String title, String author, boolean encrypted)

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

getFileFormat()

public FileFormat getFileFormat()

Returns: FileFormat

getPageCount()

public int getPageCount()

Returns: int

getTitle()

public String getTitle()

Returns: java.lang.String

getAuthor()

public String getAuthor()

Returns: java.lang.String

isEncrypted()

public boolean isEncrypted()

Returns: boolean