Package org.apache.pdfbox.tools
Class ExportXFDF
java.lang.Object
org.apache.pdfbox.tools.ExportXFDF
This example will take a PDF document and fill the fields with data from the
FDF fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close
(FDFDocument doc) Close the document.void
close
(PDDocument doc) Close the document.private void
exportXFDF
(String[] args) static void
This will import an fdf document and write out another pdf.private static void
usage()
This will print out a message telling how to use this example.
-
Constructor Details
-
ExportXFDF
public ExportXFDF()Creates a new instance of ImportFDF.
-
-
Method Details
-
main
This will import an fdf document and write out another pdf.
see usage() for commandline- Parameters:
args
- command line arguments- Throws:
IOException
- in case the file can not be read or the data can not be exported.
-
exportXFDF
- Throws:
IOException
-
usage
private static void usage()This will print out a message telling how to use this example. -
close
Close the document.- Parameters:
doc
- The doc to close.- Throws:
IOException
- If there is an error closing the document.
-
close
Close the document.- Parameters:
doc
- The doc to close.- Throws:
IOException
- If there is an error closing the document.
-