public class CreateBlankPDF extends Object
| Constructor and Description |
|---|
CreateBlankPDF() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(String file)
This will create a blank PDF and write the contents to a file.
|
static void |
main(String[] args)
This will create a blank document.
|
public void create(String file) throws IOException, COSVisitorException
file - The name of the file to write to.IOException - If there is an error writing the data.COSVisitorException - If there is an error while generating the document.public static void main(String[] args) throws IOException, COSVisitorException
args - The command line arguments.IOException - If there is an error writing the document data.COSVisitorException - If there is an error generating the data.Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.