public class PojoUtils extends Object
Simple type below will be remained:
Other type will be covert to a map which contains the attributes and value pair of object.
| 构造器和说明 |
|---|
PojoUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static Object |
generalize(Object pojo) |
static Object[] |
generalize(Object[] objs) |
static boolean |
isPojo(Class<?> cls) |
static Object[] |
realize(Object[] objs,
Class<?>[] types) |
static Object[] |
realize(Object[] objs,
Class<?>[] types,
Type[] gtypes) |
static Object |
realize(Object pojo,
Class<?> type) |
static Object |
realize(Object pojo,
Class<?> type,
Type genericType) |
public static boolean isPojo(Class<?> cls)
Copyright © 2018. All rights reserved.