Class FieldRemover
- java.lang.Object
-
- org.apache.pdfbox.examples.interactive.form.FieldRemover
-
public class FieldRemover extends java.lang.ObjectRemove an AcroForm field. Use this example as a starting point if you are writing your own field editor.- Author:
- Tilman Hausherr
-
-
Constructor Summary
Constructors Constructor Description FieldRemover()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)voidremove(java.lang.String src, java.lang.String dst, java.lang.String fullyQualifiedFieldname)Remove the first field with a matching fully qualified name from the acroform field tree and its widgets from the page annotations.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
remove
public void remove(java.lang.String src, java.lang.String dst, java.lang.String fullyQualifiedFieldname) throws java.io.IOExceptionRemove the first field with a matching fully qualified name from the acroform field tree and its widgets from the page annotations.- Parameters:
src- Source file name.dst- Destination file name.fullyQualifiedFieldname- fully qualified field name.- Throws:
java.io.IOException
-
-