public class PrintFields extends Object
Constructor and Description |
---|
PrintFields() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
This will read a PDF file and print out the form elements.
|
void |
printFields(PDDocument pdfDocument)
This will print all the fields from the document.
|
public void printFields(PDDocument pdfDocument) throws IOException
pdfDocument
- The PDF to get the fields from.IOException
- If there is an error getting the fields.public static void main(String[] args) throws IOException
args
- command line argumentsIOException
- If there is an error importing the FDF document.Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.