Class FormWriter

java.lang.Object
org.jpedal.io.annotation.FormWriter

public final class FormWriter extends Object
Utility class with static methods to all the writing of forms to a PDF
  • Method Details

    • writeForms

      public static void writeForms(File input, File output, FormObject[] formArr) throws IOException
      Update forms values in a PDF and save to the file specified.
      Parameters:
      input - File object representing the PDF containing forms
      output - File object representing where the modified PDF should be saved
      formArr - FormObject array representing the new form values
      Throws:
      IOException - if an I/O error occurs during writing