public class MethodCache extends Object
| Constructor and Description | 
|---|
| MethodCache() | 
| Modifier and Type | Method and Description | 
|---|---|
| Method | getGetMethod(Object object,
            String fieldName)Returns the getter method for field on an object. | 
| <T> Method | getSetMethod(Object object,
            String fieldName,
            Class<?> argumentType)Returns the setter method for the field on an object. | 
public Method getGetMethod(Object object, String fieldName)
object - the objectfieldName - the field nameNullPointerException - if object or fieldName is nullSuperCsvReflectionException - if the getter doesn't exist or is not visiblepublic <T> Method getSetMethod(Object object, String fieldName, Class<?> argumentType)
T - object - the objectfieldName - the field nameargumentType - the type to be passed to the setterNullPointerException - if object, fieldName or fieldType is nullSuperCsvReflectionException - if the setter doesn't exist or is not visibleCopyright © 2007-2013 Super CSV. All Rights Reserved.