public class AddMessageToEachPage extends Object
| Constructor and Description |
|---|
AddMessageToEachPage()
Constructor.
|
public void doIt(String file, String message, String outfile) throws IOException, org.apache.pdfbox.exceptions.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.org.apache.pdfbox.exceptions.COSVisitorException - If there is an error writing the PDF.public static void main(String[] args)
args - Command line arguments.Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.