S - The object sourceD - The object destinationpublic class ConverterDelegateProcessor<S,D> extends Object implements org.springframework.batch.item.ItemProcessor<S,D>, org.springframework.beans.factory.InitializingBean
ItemProcessor delegate transformation to a Converter
Simple delegation of the translation to a spring converter.| Constructor and Description |
|---|
ConverterDelegateProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
org.springframework.core.convert.converter.Converter |
getDelageteConverter() |
D |
process(S item) |
void |
setDelageteConverter(org.springframework.core.convert.converter.Converter delageteConverter) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic org.springframework.core.convert.converter.Converter getDelageteConverter()
public void setDelageteConverter(org.springframework.core.convert.converter.Converter delageteConverter)
Copyright © 2016. All rights reserved.