Apache Commons BeanUtils is a java library useful for accessing bean properties and methods.
It provides introspection capabilities to view and manipulate the properties and operations provided
by the given class.
This requires the libraries commons-beanutils-1.8.3.jar,
commons-beanutils-bean-collections-1.8.3.jar, commons-beanutils-core-1.8.3.jar,
commons-collections-3.2.1.jar, commons-logging.jar to be in classpath.
The following example shows using PropertyUtils.getPropertyDescriptor() API.
It returns the property descriptor for the specified property of the specified bean.
name
class java.lang.String
public java.lang.String com.bethecoder.tutorials
.commons_beanutils.common.Student.getName()
public void com.bethecoder.tutorials
.commons_beanutils.common.Student.setName(java.lang.String)