Java org.apache.pdfbox.cos COSDocument fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.cos COSDocument fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.cos COSDocument.

The text is from its open source code.

Field

Constructor

COSDocument()
Constructor.

Method

Objectaccept(ICOSVisitor visitor)
visitor pattern double dispatch method.
voidaddXRefTable(Map xrefTableValues)
Populate XRef HashMap with given values.
voidclose()
This will close all storage and delete the tmp files.
COSDictionarygetEncryptionDictionary()
This will get the encryption dictionary if the document is encrypted or null if the document is not encrypted.
COSObjectgetObjectFromPool(COSObjectKey key)
This will get an object from the pool.
ListgetObjects()
This will get a list of all available objects.
ListgetObjectsByType(String type)
This will get all dictionary objects by type.
ListgetObjectsByType(COSName type)
This will get a dictionary object by type.
longgetStartXref()
Return the startXref Position of the parsed document.
COSDictionarygetTrailer()
This will get the document trailer.
floatgetVersion()
This will get the version extracted from the header of this PDF document.
MapgetXrefTable()
Returns the xrefTable which is a mapping of ObjectKeys to byte offsets in the file.