public class AddMessageToEachPage extends Object
Constructor and Description |
---|
AddMessageToEachPage()
Constructor.
|
public void doIt(String file, String message, String outfile) throws IOException, COSVisitorException
file
- The file to write the PDF to.message
- The message to write in the file.outfile
- The resulting PDF.IOException
- If there is an error writing the data.COSVisitorException
- If there is an error writing the PDF.public static void main(String[] args)
args
- Command line arguments.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.