private static Object getAttribute(Object obj, String member) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
return PropertyUtils.getNestedProperty(obj, member);
}
org.apache.commons.beanutils.PropertyUtils 根据属性名获取对象属性value
最新推荐文章于 2023-12-16 13:30:00 发布