|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hamcrest.beans.PropertyUtil
public class PropertyUtil
Utility class for accessing properties on JavaBean objects.
See http://java.sun.com/products/javabeans/docs/index.html for more information on JavaBeans.
Constructor Summary | |
---|---|
PropertyUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyUtil()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |