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
Constructors Constructor Description CustomBeanWrapperFieldSetMapper(@NonNull java.lang.Class<? extends T> type, @NonNull java.time.format.DateTimeFormatter formatter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
-
-
-
-
Constructor Detail
-
CustomBeanWrapperFieldSetMapper
public CustomBeanWrapperFieldSetMapper(@NonNull @NonNull java.lang.Class<? extends T> type, @NonNull @NonNull java.time.format.DateTimeFormatter formatter)
-
-
Method Detail
-
initBinder
protected void initBinder(org.springframework.validation.DataBinder binder)
- Overrides:
initBinder
in classorg.springframework.batch.item.file.mapping.BeanWrapperFieldSetMapper<T>
-
-