public class PropertyUtil
extends java.lang.Object
Constructor | Description |
---|---|
PropertyUtil() |
Modifier and Type | Method | Description |
---|---|---|
static java.beans.PropertyDescriptor |
getPropertyDescriptor(java.lang.String propertyName,
java.lang.Object fromObj) |
Returns the description of the property with the provided
name on the provided object's interface.
|
public static java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.String propertyName, java.lang.Object fromObj) throws java.beans.IntrospectionException
java.beans.IntrospectionException
- if an error occured using
the JavaBean Introspector class to query the properties
of the provided class.