public class PDFieldFactory extends 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 IOException
acroForm
- The form that the field will be part of.field
- The dictionary representing a field elementIOException
- If there is an error determining the field type.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.