|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.examples.pdmodel.CreateBlankPDF
public class CreateBlankPDF
This will create a blank PDF and write the contents to a file. usage: java org.pdfbox.examples.pdmodel.CreateBlankPDF <outputfile.pdf>
Constructor Summary | |
---|---|
CreateBlankPDF()
|
Method Summary | |
---|---|
void |
create(java.lang.String file)
This will create a blank PDF and write the contents to a file. |
static void |
main(java.lang.String[] args)
This will create a blank document. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateBlankPDF()
Method Detail |
---|
public void create(java.lang.String file) throws java.io.IOException, COSVisitorException
file
- The name of the file to write to.
java.io.IOException
- If there is an error writing the data.
COSVisitorException
- If there is an error while generating the document.public static void main(java.lang.String[] args) throws java.io.IOException, COSVisitorException
args
- The command line arguments.
java.io.IOException
- If there is an error writing the document data.
COSVisitorException
- If there is an error generating the data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |