public class BeanUtils
extends org.springframework.beans.BeanUtils
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
copyBeanProp(Object dest,
Object src)
Bean属性复制工具方法。
|
static List<Method> |
getGetterMethods(Object obj)
获取对象的getter方法。
|
static List<Method> |
getSetterMethods(Object obj)
获取对象的setter方法。
|
static boolean |
isMethodPropEquals(String m1,
String m2)
检查Bean方法名中的属性名是否相等。
|
copyProperties, copyProperties, copyProperties, findDeclaredMethod, findDeclaredMethodWithMinimalParameters, findEditorByConvention, findMethod, findMethodWithMinimalParameters, findMethodWithMinimalParameters, findPrimaryConstructor, findPropertyForMethod, findPropertyForMethod, findPropertyType, getParameterNames, getPropertyDescriptor, getPropertyDescriptors, getResolvableConstructor, getWriteMethodParameter, instantiate, instantiateClass, instantiateClass, instantiateClass, isSimpleProperty, isSimpleValueType, resolveSignaturepublic static void copyBeanProp(Object dest, Object src)
dest - 目标对象src - 源对象public static List<Method> getSetterMethods(Object obj)
obj - 对象public static List<Method> getGetterMethods(Object obj)
obj - 对象Copyright © 2024. All rights reserved.