public class WriteDecodedDoc extends Object
| Constructor and Description | 
|---|
| WriteDecodedDoc()Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | doIt(String in,
    String out)Deprecated. 
 use  doIt(String, String, String, boolean)instead. | 
| void | doIt(String in,
    String out,
    String password,
    boolean useNonSeqParser)This will perform the document reading, decoding and writing. | 
| static void | main(String[] args)This will write a PDF document with completely decoded streams. | 
public void doIt(String in, String out) throws IOException, COSVisitorException
doIt(String, String, String, boolean) instead.in - The filename used for input.out - The filename used for output.IOException - If there is an error parsing the document.COSVisitorException - If there is an error while copying the document.public void doIt(String in, String out, String password, boolean useNonSeqParser) throws IOException, COSVisitorException
in - The filename used for input.out - The filename used for output.password - The password to open the document.useNonSeqParser - use the non sequential parserIOException - If there is an error parsing the document.COSVisitorException - If there is an error while copying the document.public static void main(String[] args)
args - command line argumentsCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.