Deprecated API


Contents
Deprecated Classes
org.apache.pdfbox.encryption.DocumentEncryption
          use the new security API instead. 
org.apache.pdfbox.pdmodel.encryption.PDEncryptionManager
          Made deprecated by the new security layer of PDFBox. Use SecurityHandlers instead. 
org.apache.pdfbox.encryption.PDFEncryption
          use the new security layer instead 
org.apache.pdfbox.pdmodel.encryption.PDStandardEncryption
          Made deprecated by the new security layer of PDFBox. Use SecurityHandlers instead. 
 

Deprecated Fields
org.apache.pdfbox.Overlay.EXT_G_STATE
          use the COSName.EXT_G_STATE constant instead 
org.apache.pdfbox.cos.COSNumber.ONE
          Use the COSInteger.ONE constant instead 
org.apache.pdfbox.Overlay.PROC_SET
          use the COSName.PROC_SET constant instead 
org.apache.pdfbox.Overlay.XOBJECT
          use the COSName.XOBJECT constant instead 
org.apache.pdfbox.cos.COSNumber.ZERO
          Use the COSInteger.ZERO constant instead 
 

Deprecated Methods
org.apache.pdfbox.pdmodel.PDDocument.clearWillEncryptWhenSaving()
          Do not rely on this method anymore. It is the responsability of COSWriter to hold this state. 
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionURI.getBase()
          use PDURIDictionary.getBase() instead 
org.apache.pdfbox.pdmodel.PDDocument.getOwnerPasswordForEncryption()
          Do not rely on this method anymore. 
org.apache.pdfbox.pdmodel.PDDocument.getPageCount()
          Use the getNumberOfPages method instead! 
org.apache.pdfbox.util.PDFTextStripper.getText(COSDocument)
            
org.apache.pdfbox.pdmodel.PDDocument.getUserPasswordForEncryption()
          Do not rely on this method anymore. 
org.apache.pdfbox.pdmodel.PDDocument.isOwnerPassword(String)
            
org.apache.pdfbox.pdmodel.PDDocument.isUserPassword(String)
            
org.apache.pdfbox.cos.COSDictionary.keyList()
          Use the COSDictionary.entrySet() method instead. 
org.apache.pdfbox.pdmodel.interactive.action.type.PDActionURI.setBase(String)
          use PDURIDictionary.setBase(String) instead 
org.apache.pdfbox.pdmodel.PDDocument.wasDecryptedWithOwnerPassword()
          use getCurrentAccessPermission instead 
org.apache.pdfbox.pdmodel.PDDocument.willEncryptWhenSaving()
          Do not rely on this method anymore. It is the responsibility of COSWriter to hold this state 
org.apache.pdfbox.util.PDFTextStripper.writeText(COSDocument, Writer)
            
 

Deprecated Constructors
org.apache.pdfbox.pdmodel.common.COSArrayList(Object, COSBase, COSDictionary, String)
          use the COSArrayList.COSArrayList(Object, COSBase, COSDictionary, COSName) method instead 
org.apache.pdfbox.cos.COSInteger(int)
          use the static COSInteger.get(long) method instead 
org.apache.pdfbox.cos.COSInteger(long)
          use the static COSInteger.get(long) method instead 
org.apache.pdfbox.cos.COSInteger(String)
          use the static COSInteger.get(long) method instead 
 



Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.