public class AddMessageToEachPage extends Object
Constructor and Description |
---|
AddMessageToEachPage()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
doIt(String file,
String message,
String outfile)
create the second sample document from the PDF file format specification.
|
static void |
main(String[] args)
This will create a hello world PDF document.
|
public void doIt(String file, String message, String outfile) throws IOException
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.public static void main(String[] args) throws IOException
args
- Command line arguments.IOException
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.