|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.WriteDecodedDoc
public class WriteDecodedDoc
load document and write with all streams decoded.
| Constructor Summary | |
|---|---|
WriteDecodedDoc()
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteDecodedDoc()
| Method Detail |
|---|
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 parser
IOException - 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 arguments
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||