public class SetField extends Object
Constructor and Description |
---|
SetField() |
public void setField(PDDocument pdfDocument, String name, String value) throws IOException
pdfDocument
- The PDF to set the field in.name
- The name of the field to set.value
- The new value of the field.IOException
- If there is an error setting the field.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.