PDF4Java Reference Documentation
com.o2sol.pdf4java.core Package / PDFFile Class
Fields Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFFile Class Members
In This Topic

The following tables list the members exposed by PDFFile.

Public Constructors

| Name | Description
--- | --- | ---
| PDFFile Constructor | Overloaded.

Top
Protected Fields

| Name | Description
--- | --- | ---
| cosFile |

Top
Public Methods

| Name | Description
--- | --- | ---
| endSave | This method supports the internal library infrastructure and should not be used by external client code.
| extractDocumentInformation | Extracts the document information from the PDF files.
| extractFileAttachments | Extracts the file attachments from the PDF file.
| extractJavaScriptFragments | Extracts the JavaScript code from the PDF file.
| extractNamedDestinations | Overloaded. Extracts the named destinations from the PDF file.
| extractOutlines | Extracts the outlines from the PDF file.
| extractPage | Extracts the page information from the PDF file.
| extractPageContent | Overloaded. Extracts the content of a PDF page.
| extractPageInfo | Extracts the page information from the PDF file.
| extractPageOptionalContentGroup | Extracts the content of an optional content group.
| extractPageOptionalContentGroupNames | Extracts the names of the optional content groups defined on the page.
| extractPages | Extracts a page from the PDF file.
| extractXmpMetadata | Extracts the XMP metadata from the PDF file.
| getCosDocumentInformation | This method supports the internal library infrastructure and should not be used by external client code.
| getCosFile | This method supports the internal library infrastructure and should not be used by external client code.
| getCosObjectByNumber | This method supports the internal library infrastructure and should not be used by external client code.
| getCosObjectCount | Gets the total number of COS objects in the PDF file.
| getDocumentCatalog | This method supports the internal library infrastructure and should not be used by external client code.
| getEncryptHandler | This method supports the internal library infrastructure and should not be used by external client code.
| getFooterBlob | This method supports the internal library infrastructure and should not be used by external client code.
| getHeaderBlob | This method supports the internal library infrastructure and should not be used by external client code.
| getPageCount | Gets the number of pages.
| getPDFFileEncryptionInfo | Gets the encryption algorithm used by the PDF file in the input stream.
| getSecurityHandler | Gets the file security handler.
| init | This method supports the internal library infrastructure and should not be used by external client code.
| initializeRandomGenerator | This method supports the internal library infrastructure and should not be used by external client code.
| initSave | This method supports the internal library infrastructure and should not be used by external client code.
| isPDFFileEncrypted | Verifies if the PDF file is encrypted.
| isPDFFileOwnerPassword | Verifies if the password matches the owner password set on the PDF file.
| isPDFFileUserPassword | Verifies if the password matches the user password set on the PDF file.
| saveFullFile | This method supports the internal library infrastructure and should not be used by external client code.
| saveIncrementalFile | This method supports the internal library infrastructure and should not be used by external client code.
| setCosDocumentInformation | This method supports the internal library infrastructure and should not be used by external client code.
| setCosFile | This method supports the internal library infrastructure and should not be used by external client code.
| setEncryptHandler | This method supports the internal library infrastructure and should not be used by external client code.
| setFooterBlob | This method supports the internal library infrastructure and should not be used by external client code.
| setHeaderBlob | This method supports the internal library infrastructure and should not be used by external client code.

Top
See Also

#### Reference

PDFFile Class
com.o2sol.pdf4java.core Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.