Top Description Fields Constructors Methods
org.apache.pdfbox.tools

public final Class ExportXFDF

extends Object
implements Callable<Integer>
Class Inheritance
All Implemented Interfaces
java.util.concurrent.Callable
Annotations
@Command
name:exportxfdf
header:Exports AcroForm form data to XFDF
versionProvider:Version
mixinStandardHelpOptions:true
Imports
java.io.File, .IOException, .PrintStream, java.util.concurrent.Callable, org.apache.commons.io.FilenameUtils, org.apache.pdfbox.Loader, org.apache.pdfbox.pdmodel.PDDocument, org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm, picocli.CommandLine, .CommandLine.Command, .CommandLine.Option, org.apache.pdfbox.pdmodel.fdf.FDFDocument

This will take a PDF document and export the AcroForm form data to FDF.
Author
Ben Litchfield

Field Summary

Modifier and TypeField and Description
private File
private File
private final PrintStream

Constructor Summary

AccessConstructor and Description
public
ExportXFDF()

Constructor.

Method Summary

Modifier and TypeMethod and Description
public Integer
call()

Implements java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

public static void
main(String[]
The command-line arguments.
args
)

This is the entry point for the application.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

infileback to summary
private File infile
Annotations
@Option
names:-i, --input
description:the PDF file to export
required:true
outfileback to summary
private File outfile
Annotations
@Option
names:-o, --output
description:the XFDF data file
required:true
SYSERRback to summary
private final PrintStream SYSERR
Annotations
@SuppressWarnings:squid:S106

Constructor Detail

ExportXFDFback to summary
public ExportXFDF()

Constructor.

Method Detail

callback to summary
public Integer call()

Implements java.util.concurrent.Callable.call.

Doc from java.util.concurrent.Callable.call.

Computes a result, or throws an exception if unable to do so.

Returns:Integer

computed result

mainback to summary
public static void main(String[] args)

This is the entry point for the application.

Parameters
args:String[]

The command-line arguments.