public class ParamField extends Object
Constructor and Description |
---|
ParamField(AccessibleObject member)
Creates a ParamField object
|
public static final String DEFAULT
public ParamField(AccessibleObject member) throws TikaConfigException
member
- a field or method which has Field
annotationTikaConfigException
public Field getField()
public Method getSetter()
public String getName()
public Class<?> getType()
public boolean isRequired()
public void assignValue(Object bean, Object value) throws IllegalAccessException, InvocationTargetException
bean
- bean with annotation for fieldvalue
- value of fieldIllegalAccessException
- when it occursInvocationTargetException
- when it occursCopyright © 2007–2016 The Apache Software Foundation. All rights reserved.