org.pdfbox.examples.pdmodel
Class EmbeddedFiles
java.lang.Object
org.pdfbox.examples.pdmodel.EmbeddedFiles
public class EmbeddedFiles
extends java.lang.Object
This is an example that creates a simple document and embeds a file into it..
void | doIt(String file) - create the second sample document from the PDF file format specification.
|
static void | main(String[] args) - This will create a hello world PDF document with an embedded file.
|
EmbeddedFiles
public EmbeddedFiles()
Constructor.
doIt
public void doIt(String file)
throws IOException,
COSVisitorException
create the second sample document from the PDF file format specification.
file
- The file to write the PDF to.
main
public static void main(String[] args)
This will create a hello world PDF document with an embedded file.
see usage() for commandline
args
- Command line arguments.