Skip to content

Dozer使用简记 | Ted's Blog #24

@TedHacker

Description

@TedHacker

http://tedhacker.top/2016/08/17/Dozer%E4%BD%BF%E7%94%A8%E7%AE%80%E8%AE%B0/

什么是DozerDozer是一个Java对象转换工具,可以在JavaBean和JavaBean之间进行递归数据复制,并且适应不同复杂的类型。Dozer会直接将名称相同的属性进行复制,属性名不同或者有特殊的要求则可以在xml中进行配置。 准备使用Dozer在pom.xml文件中添加以下配置 123456<!-- https://mvnrepository.com/artifact/net.sf

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions