This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.springframework.batch.item.ItemProcessor; | |
import test.vo.SourceVO; | |
import test.vo.TargetVO; | |
public class TestProcessor implements ItemProcessor<SourceVO, TargetVO> { | |
@Override | |
public TargetVO process(SourceVO item) throws Exception { | |
TargetVO targetVO = new TargetVO(); | |
targetVO.new_col1 = item.col1; | |
targetVO.new_col2 = item.col2; | |
targetVO.new_col3 = item.col3; | |
return targetVO; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment