public class PrintFields
extends java.lang.Object
Constructor and Description |
---|
PrintFields() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.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 java.io.IOException
pdfDocument
- The PDF to get the fields from.java.io.IOException
- If there is an error getting the fields.public static void main(java.lang.String[] args) throws java.io.IOException, CryptographyException
args
- command line argumentsjava.io.IOException
- If there is an error importing the FDF document.CryptographyException
- If there is an error decrypting the document.