Class FlatFileItemReaderAutoConfiguration

java.lang.Object
org.springframework.cloud.task.batch.autoconfigure.flatfile.FlatFileItemReaderAutoConfiguration

@AutoConfiguration @EnableConfigurationProperties(FlatFileItemReaderProperties.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration.class) public class FlatFileItemReaderAutoConfiguration extends Object
Autconfiguration for a FlatFileItemReader.
Since:
2.3
Author:
Michael Minella, Glenn Renfro
  • Constructor Details

  • Method Details

    • itemReader

      @Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="spring.batch.job.flatfileitemreader", name="name") public org.springframework.batch.item.file.FlatFileItemReader<Map<String,Object>> itemReader(@Autowired(required=false) org.springframework.batch.item.file.transform.LineTokenizer lineTokenizer, @Autowired(required=false) org.springframework.batch.item.file.mapping.FieldSetMapper<Map<String,Object>> fieldSetMapper, @Autowired(required=false) org.springframework.batch.item.file.LineMapper<Map<String,Object>> lineMapper, @Autowired(required=false) org.springframework.batch.item.file.LineCallbackHandler skippedLinesCallback, @Autowired(required=false) org.springframework.batch.item.file.separator.RecordSeparatorPolicy recordSeparatorPolicy)