Dozer - Java Bean 工具包


Apache
跨平台
Java

软件简介

Dozer是一个用来复制 JavaBean 属性的类库,类似 BeanUtils

例如:

MapperIF mapper = new DozerBeanMapper();  
DestinationObject destObject = (DestinationObject) mapper.map(sourceObject, DestinationObject.class);  
//或者是  
DestinationObject destObject = new DestinationObject();  
mapper.map(sourceObject, destObject);