com.clickntap.tool.bean
Class BeanUtils

java.lang.Object
  extended by org.springframework.beans.BeanUtils
      extended by com.clickntap.tool.bean.BeanUtils

public class BeanUtils
extends org.springframework.beans.BeanUtils


Constructor Summary
BeanUtils()
           
 
Method Summary
static String beanClassToResourceName(Class beanClass, String extension)
           
static String beanClassToSimpleName(Class beanClass)
           
static BeanInfo beanTobeanInfo(Class beanClass)
           
static org.dom4j.Document beanToResource(Class beanClass)
           
static Object getValue(Object target, String propertyName)
           
static void setValue(Object target, String propertyName, Object value)
           
 
Methods inherited from class org.springframework.beans.BeanUtils
copyProperties, copyProperties, copyProperties, findDeclaredMethod, findDeclaredMethodWithMinimalParameters, findEditorByConvention, findMethod, findMethodWithMinimalParameters, findMethodWithMinimalParameters, findPropertyForMethod, findPropertyType, getPropertyDescriptor, getPropertyDescriptors, getWriteMethodParameter, instantiate, instantiateClass, instantiateClass, instantiateClass, isSimpleProperty, isSimpleValueType, resolveSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanUtils

public BeanUtils()
Method Detail

beanClassToResourceName

public static String beanClassToResourceName(Class beanClass,
                                             String extension)

beanClassToSimpleName

public static String beanClassToSimpleName(Class beanClass)

beanToResource

public static org.dom4j.Document beanToResource(Class beanClass)
                                         throws Exception
Throws:
Exception

beanTobeanInfo

public static BeanInfo beanTobeanInfo(Class beanClass)
                               throws Exception
Throws:
Exception

getValue

public static Object getValue(Object target,
                              String propertyName)

setValue

public static void setValue(Object target,
                            String propertyName,
                            Object value)


Copyright © 2014. All rights reserved.