org.jbeanmapper
Class BeanUtil

java.lang.Object
  extended byorg.jbeanmapper.BeanUtil

public class BeanUtil
extends java.lang.Object

Utility methods for javabeans.

Author:
Brian Pugh

Constructor Summary
BeanUtil()
           
 
Method Summary
static java.beans.PropertyDescriptor findPropertyDescriptor(java.beans.BeanInfo targetBeanInfo, java.lang.String propertyName)
          Find the PropertyDescriptor in the targetBeanInfo for the property propertyName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanUtil

public BeanUtil()
Method Detail

findPropertyDescriptor

public static java.beans.PropertyDescriptor findPropertyDescriptor(java.beans.BeanInfo targetBeanInfo,
                                                                   java.lang.String propertyName)
Find the PropertyDescriptor in the targetBeanInfo for the property propertyName

Parameters:
targetBeanInfo - the BeanInfo in which to look for the property descriptor.
propertyName - the name of the property to look for.
Returns:
the PropertyDescriptor in the targetBeanInfo for the property propertyName. Null if the property is not found.