Example usage for Java org.apache.pdfbox.cos COSDocument fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isXRefStream |
COSDocument() Constructor. |
Object | accept(ICOSVisitor visitor) visitor pattern double dispatch method. |
void | addXRefTable(Map Populate XRef HashMap with given values. |
void | close() This will close all storage and delete the tmp files. |
COSDictionary | getEncryptionDictionary() This will get the encryption dictionary if the document is encrypted or null if the document is not encrypted. |
COSObject | getObjectFromPool(COSObjectKey key) This will get an object from the pool. |
List | getObjects() This will get a list of all available objects. |
List | getObjectsByType(String type) This will get all dictionary objects by type. |
List | getObjectsByType(COSName type) This will get a dictionary object by type. |
long | getStartXref() Return the startXref Position of the parsed document. |
COSDictionary | getTrailer() This will get the document trailer. |
float | getVersion() This will get the version extracted from the header of this PDF document. |
Map | getXrefTable() Returns the xrefTable which is a mapping of ObjectKeys to byte offsets in the file. |