Home » pdfbox-1.1.0-src » org.apache.pdfbox.examples.fdf » [javadoc | source]
public class: SetField [javadoc | source]
This example will take a PDF document and set a FDF field in it.
Method from org.apache.pdfbox.examples.fdf.SetField Summary:
main,   setField
Methods from org.apache.pdfbox.examples.AbstractExample:
close,   close,   close,   close,   close
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.pdfbox.examples.fdf.SetField Detail:
 public static  void main(String[] args) throws IOException, COSVisitorException 
    This will read a PDF file and set a field and then write it the pdf out again.
    see usage() for commandline
 public  void setField(PDDocument pdfDocument,
    String name,
    String value) throws IOException 
    This will set a single field in the document.