Purple Code

com.purpletech.util
Class ReflectionUtils

java.lang.Object
  |
  +--com.purpletech.util.ReflectionUtils

public class ReflectionUtils
extends java.lang.Object


Constructor Summary
ReflectionUtils()
           
 
Method Summary
static java.lang.Object getFieldValue(java.lang.Object bean, java.lang.String fieldname)
           
static java.lang.Object getPropertyValue(java.lang.Object bean, java.lang.String propertyName)
           
static java.lang.Object getStaticFieldValue(java.lang.Class klass, java.lang.String fieldname)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectionUtils

public ReflectionUtils()
Method Detail

getFieldValue

public static java.lang.Object getFieldValue(java.lang.Object bean,
                                             java.lang.String fieldname)

getStaticFieldValue

public static java.lang.Object getStaticFieldValue(java.lang.Class klass,
                                                   java.lang.String fieldname)

getPropertyValue

public static java.lang.Object getPropertyValue(java.lang.Object bean,
                                                java.lang.String propertyName)
                                         throws java.beans.IntrospectionException,
                                                java.lang.reflect.InvocationTargetException,
                                                java.lang.IllegalAccessException
java.beans.IntrospectionException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException

Documentation generated March 5 2003