public class CopyDoc extends Object
Constructor and Description |
---|
CopyDoc()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
doIt(String in,
String out)
This will perform the document copy.
|
static void |
main(String[] args)
This will copy a PDF document.
|
public void doIt(String in, String out) throws IOException, COSVisitorException
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 static void main(String[] args)
args
- command line argumentsCopyright © 2002–2015 The Apache Software Foundation. All rights reserved.