public class BeanUtil extends Object
| Constructor and Description |
|---|
BeanUtil() |
| Modifier and Type | Method and Description |
|---|---|
static BeanProperty |
findBeanProperty(Class type,
String propertyName,
boolean caseSensitive)
Finds a BeanProperty for the class type.
|
public static BeanProperty findBeanProperty(Class type, String propertyName, boolean caseSensitive) throws IllegalAccessException
type - The class to search for the methodpropertyName - The name of the property to search forcaseSensitive - True if its a case sensitive search, otherwise falseIllegalAccessException - If there is an access exception
while attempting to turn "private" fields or methods to accessible.Copyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.