how to read both comma separated and pipe line separated csv file in a single item reader in spring batch
问题 I am new to sprig batch. I have a folder which contain multiple csv file, I have implemented MultiResourceItemReader () to read those file . It is working only if all csv file are pipe line ("|") separated. I want to read both comma (",") separated csv and pipe line separated csv using single reader. Is it possible ? if yes how ? Here is my code @Bean @StepScope public MultiResourceItemReader<Person> multiResourceItemReader(@Value("#{jobParameters[x]}") String x,@Value("#{jobParameters[y]}")