I am new to Spring Batch. My issue may sound so simple.
How do I get the resoure in my custom FlatFileItemWriter? FlatFileItemWriter doesn't have a method that returns the resource. I need to get the resource to do further processing to the output file (appending a footer) in the afterStep() method. Calling the write(<footer>) in the afterStep() doesn't work so I'll just write my own code to append a footer in the file. In this case, I would need to get the resource.
Any help or suggestion I'll appreaciate.