title: Spring Batch - FlatFileItemReader for different delimited files
body: <p>I have two different files, one delimited by pipe separator "|" and one by comma ",".</p>
  
  <p>I am using Spring Batch to process these files using FlatFileItemReader. I dont want to have two readers and two writers for the files.
  Can I have somehow one generic FlatFileItemReader for both files?</p>
  
  <p>Also the objects to which the files will be mapped are different.</p>