Package org.apache.pdfbox
Class WriteDecodedDoc
java.lang.Object
org.apache.pdfbox.WriteDecodedDoc
load document and write with all streams decoded.
- Version:
- $Revision: 1.8 $
- Author:
- Michael Traut
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.voidThis will perform the document reading, decoding and writing.static voidThis will write a PDF document with completely decoded streams.
-
Constructor Details
-
WriteDecodedDoc
public WriteDecodedDoc()Constructor.
-
-
Method Details
-
doIt
Deprecated.usedoIt(String, String, String, boolean)instead.This will perform the document reading, decoding and writing.- Parameters:
in- The filename used for input.out- The filename used for output.- Throws:
IOException- If there is an error parsing the document.COSVisitorException- If there is an error while copying the document.
-
doIt
public void doIt(String in, String out, String password, boolean useNonSeqParser) throws IOException, COSVisitorException This will perform the document reading, decoding and writing.- Parameters:
in- The filename used for input.out- The filename used for output.password- The password to open the document.useNonSeqParser- use the non sequential parser- Throws:
IOException- If there is an error parsing the document.COSVisitorException- If there is an error while copying the document.
-
main
This will write a PDF document with completely decoded streams.
see usage() for commandline- Parameters:
args- command line arguments
-
doIt(String, String, String, boolean)instead.