Newbie to Spring Batch... Is this a use case that can be done within framework?
I will be reading a big fixed length file and need to create a header file and detail file based on control break logic. For instance given this input file:
hdr1 abc details1 aaa bbb ccc
hdr1 abc details2 bbb ccc ddd
hdr1 abc details3 ccc ddd eee
hdr2 def details4 aaa bbb ccc
hdr2 def details5 bbb ccc ddd
hdr2 def details6 ccc ddd eee

header file
hdr1 abc
hdr2 def

details file
hdr1 abc details1 aaa bbb ccc
hdr1 abc details2 bbb ccc ddd
hdr1 abc details3 ccc ddd eee
hdr2 def details4 aaa bbb ccc
hdr2 def details5 bbb ccc ddd
hdr2 def details6 ccc ddd eee