public class WriteDecodedDoc
extends java.lang.Object
Constructor | Description |
---|---|
WriteDecodedDoc() |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
doIt(java.lang.String in,
java.lang.String out) |
Deprecated.
use
doIt(String, String, String, boolean) instead. |
void |
doIt(java.lang.String in,
java.lang.String out,
java.lang.String password,
boolean useNonSeqParser) |
This will perform the document reading, decoding and writing.
|
static void |
main(java.lang.String[] args) |
This will write a PDF document with completely decoded streams.
|
public void doIt(java.lang.String in, java.lang.String out) throws java.io.IOException, COSVisitorException
doIt(String, String, String, boolean)
instead.in
- The filename used for input.out
- The filename used for output.java.io.IOException
- If there is an error parsing the document.COSVisitorException
- If there is an error while copying the document.public void doIt(java.lang.String in, java.lang.String out, java.lang.String password, boolean useNonSeqParser) throws java.io.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 parserjava.io.IOException
- If there is an error parsing the document.COSVisitorException
- If there is an error while copying the document.public static void main(java.lang.String[] args)
args
- command line arguments