类 PojoUtils
- java.lang.Object
-
- com.alibaba.dubbo.common.utils.PojoUtils
-
public class PojoUtils extends Object
PojoUtils. Travel object deeply, and convert complex type to simple type. Simple type below will be remained:- Primitive Type, also include String, Number(Integer, Long), Date
- Array of Primitive Type
- Collection, eg: List, Map, Set etc.
-
-
构造器概要
构造器 构造器 说明 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)
-
-
-
方法详细资料
-
isPojo
public static boolean isPojo(Class<?> cls)
-
-