Class ExportXFDF

java.lang.Object
org.apache.pdfbox.tools.ExportXFDF

public class ExportXFDF extends Object
This example will take a PDF document and fill the fields with data from the FDF fields.
Author:
Ben Litchfield
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new instance of ImportFDF.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    close(org.apache.pdfbox.pdmodel.fdf.FDFDocument doc)
    Close the document.
    void
    close(org.apache.pdfbox.pdmodel.PDDocument doc)
    Close the document.
    static void
    main(String[] args)
    This will import an fdf document and write out another pdf.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ExportXFDF

      public ExportXFDF()
      Creates a new instance of ImportFDF.
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      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.
    • close

      public void close(org.apache.pdfbox.pdmodel.fdf.FDFDocument doc) throws IOException
      Close the document.
      Parameters:
      doc - The doc to close.
      Throws:
      IOException - If there is an error closing the document.
    • close

      public void close(org.apache.pdfbox.pdmodel.PDDocument doc) throws IOException
      Close the document.
      Parameters:
      doc - The doc to close.
      Throws:
      IOException - If there is an error closing the document.