Package org.jpedal.io.annotation
Class FormWriter
java.lang.Object
org.jpedal.io.annotation.FormWriter
Utility class with static methods to all the writing of forms to a PDF
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidwriteForms(byte[] input, File output, FormObject[] formArr) Update forms values in a PDF and save to the file specified.static voidwriteForms(byte[] input, File output, FormObject[] formArr, byte[] password) static voidwriteForms(File input, File output, FormObject[] formArr) Update forms values in a PDF and save to the file specified.static voidwriteForms(File input, File output, FormObject[] formArr, byte[] password)
-
Method Details
-
writeForms
Update forms values in a PDF and save to the file specified.- Parameters:
input- File object representing the PDF containing formsoutput- File object representing where the modified PDF should be savedformArr- FormObject array representing the new form values- Throws:
IOException- if an I/O error occurs during writing
-
writeForms
public static void writeForms(File input, File output, FormObject[] formArr, byte[] password) throws IOException - Throws:
IOException
-
writeForms
Update forms values in a PDF and save to the file specified.- Parameters:
input- byte[] object representing the PDF containing formsoutput- File object representing where the modified PDF should be savedformArr- FormObject array representing the new form values- Throws:
IOException- if an I/O error occurs during writing
-
writeForms
public static void writeForms(byte[] input, File output, FormObject[] formArr, byte[] password) throws IOException - Throws:
IOException
-