public class ConformingPDDocument extends PDDocument
UNKNOWN_NUMBER_OF_PAGES| Constructor and Description | 
|---|
| ConformingPDDocument() | 
| ConformingPDDocument(COSDocument doc) | 
| Modifier and Type | Method and Description | 
|---|---|
| COSBase | getObjectFromPool(COSObjectKey key)This will get an object from the pool. | 
| COSBase | getObjectFromPool(long number,
                 long generation)This will get an object from the pool. | 
| List<COSObjectKey> | getObjectKeysFromPool()This will get list of object keys from the pool. | 
| ConformingPDFParser | getParser() | 
| static PDDocument | load(File input)This will load a document from an input stream. | 
| void | putObjectInPool(COSBase object,
               long number,
               long generation) | 
| void | setParser(ConformingPDFParser parser) | 
addPage, addSignature, addSignature, addSignatureField, clearWillEncryptWhenSaving, close, decrypt, encrypt, getCurrentAccessPermission, getDocument, getDocumentCatalog, getDocumentId, getDocumentInformation, getEncryptionDictionary, getLastSignatureDictionary, getNumberOfPages, getOwnerPasswordForEncryption, getPageCount, getPageFormat, getPageMap, getPrintable, getSecurityHandler, getSignatureDictionaries, getSignatureDictionary, getSignatureFields, getUserPasswordForEncryption, importPage, isAllSecurityToBeRemoved, isEncrypted, isOwnerPassword, isUserPassword, load, load, load, load, load, load, load, load, load, load, load, loadNonSeq, loadNonSeq, loadNonSeq, loadNonSeq, openProtection, print, print, protect, removePage, removePage, save, save, save, saveIncremental, saveIncremental, setAllSecurityToBeRemoved, setDocumentId, setDocumentInformation, setEncryptionDictionary, setSecurityHandler, silentPrint, silentPrint, wasDecryptedWithOwnerPassword, willEncryptWhenSavingpublic ConformingPDDocument()
                     throws IOException
IOExceptionpublic ConformingPDDocument(COSDocument doc) throws IOException
IOExceptionpublic static PDDocument load(File input) throws IOException
input - The File which contains the document.IOException - If there is an error reading from the stream.public COSBase getObjectFromPool(COSObjectKey key) throws IOException
key - The object key.IOException - If there is an error getting the proxy object.public List<COSObjectKey> getObjectKeysFromPool() throws IOException
IOException - If there is an error getting keys.public COSBase getObjectFromPool(long number, long generation) throws IOException
number - the object numbergeneration - the generation of this object you wish to loadIOException - If there is an error getting the proxy object.public void putObjectInPool(COSBase object, long number, long generation)
public ConformingPDFParser getParser()
public void setParser(ConformingPDFParser parser)
parser - the parser to setCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.