Bean转Map方法_bean转map能put-CSDN博客
文章浏览阅读825次。// Bean --> Map 1: 利用Introspector和PropertyDescriptor 将Bean --> Mappublic static Map<String, Object> transBean2Map(Object obj) throws Exception { if (obj == null) { return null; } Map<String, Object> map = new HashMap<String._bean转map能p......
admin