I have a file that needs to be parsed and broken into Objects. I'm using FlatFileItemReader for this.
The problem is that the file contains this sequence of characters as record separator - Ç{BEG}Ç
and Ç as field separator
Configuring Ç{BEG}Ç string as record separator does not work, it just returns the very first line of file and stops.
I'm guessing this is because the file contains no new lines and the code internally still depends on plain old readLine() which requires a new line character.
Can someone suggest a clean way to handle this?
Sample data:
item11Çitem12Çitem13ÇÇ{BEG}Çitem21Çitem22Çitem23ÇÇ {BEG}Çitem31Çitem32Çitem33ÇÇ{BEG}Ç


Reply With Quote
