public class PDFieldFactory
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static PDField |
createField(PDAcroForm acroForm,
COSDictionary field)
This method creates a COSField subclass from the given field.
|
public static PDField createField(PDAcroForm acroForm, COSDictionary field) throws java.io.IOException
acroForm - The form that the field will be part of.field - The dictionary representing a field elementjava.io.IOException - If there is an error determining the field type.