Reading Files thru MultiResourceItemReader after de-cryption in Spring Batch
<p>I'm developing a spring batch to read multiple files from a folder, process it and write the result in DB. I'm using MultiResourceItemReader to read files from the folder. but the files might be encrypted so , i need to decrypt the file before reading. What is the best way to do this? </p>

<p>1) Should I use a step before reading, processing and writing ?
2) Should I override doOpen from FlatFileItemReader which was set as delegate to MultiResourceItemReader ?
3) Should I override open in MultiResourceItemReader itself ?</p>

<p>I think, overriding an already existing method is not advisable, as we may end up in duplication or missing code. Please advise</p>