Class CustomBeanWrapperFieldSetMapper<T>
java.lang.Object
org.springframework.batch.support.DefaultPropertyEditorRegistrar
org.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper<T>
io.github.astrapi69.spring.batch.mapper.CustomBeanWrapperFieldSetMapper<T>
- All Implemented Interfaces:
org.springframework.batch.item.file.mapping.FieldSetMapper<T>
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanFactoryAware
,org.springframework.beans.factory.InitializingBean
,org.springframework.beans.PropertyEditorRegistrar
public class CustomBeanWrapperFieldSetMapper<T>
extends org.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCustomBeanWrapperFieldSetMapper
(@NonNull Class<? extends T> type, @NonNull DateTimeFormatter formatter) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
initBinder
(org.springframework.validation.DataBinder binder) Methods inherited from class org.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper
afterPropertiesSet, createBinder, mapFieldSet, setBeanFactory, setConversionService, setCustomEditors, setDistanceLimit, setPrototypeBeanName, setStrict, setTargetType
Methods inherited from class org.springframework.batch.support.DefaultPropertyEditorRegistrar
registerCustomEditors
-
Constructor Details
-
CustomBeanWrapperFieldSetMapper
public CustomBeanWrapperFieldSetMapper(@NonNull @NonNull Class<? extends T> type, @NonNull @NonNull DateTimeFormatter formatter)
-
-
Method Details
-
initBinder
protected void initBinder(org.springframework.validation.DataBinder binder) - Overrides:
initBinder
in classorg.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper<T>
-