0000321C#Miss Foo
23234HSBCA#123433-000HSBCAUS
00234HSBCB#222343-130HSBCCADCE
0000322C#Mr Bar
The given file is fixed width and the record containing A#,B# and C# maps to different models. (A#,B#andC# being the record indicators)
I did found a library (univocity-parser) where we can do something like this but the limitation is that the record indicator but be at the start of the line.
Please suggest.