We are using the FlatFile Item reader and trying to parse a file. Users open the CSV file in excel and save after modification and submit to the process that parses the file. Now as the last column had blank data, excel excludes the last comma which causes the tokens to be mismatched and parsing fails. Previously DelimitedTokenizer had a setStrict method which I thought would have avoided this problem. Is my understanding correct? Currently we are using version 2.x and I dont see that method in the DelimitedTokenizer. How can I achieve this and avoid the problem that I am having?
Spring Batch Token Mismatch fails parsing the file Page Title Module
Move Remove Collapse