Jul 14th, 2011, 11:12 AM
Question about the PatternMatchingCompositeLineMapper
I use batch version 2.1.6
I have like 20 different records I have to read from one file in my job,
the problem is , that the record keys are not in the beginning but at 2 very specific columns in the record and they are numbers .
Can I tell the PatternMatcher that he needs to look at say char 6 and 7 and 15 for the key?
It looks like I can only use * without any number of how many chars it will be til the key starts.
Is that right? Do I need to write the code myself to have this functionality?
Jul 18th, 2011, 06:20 AM
Maybe your problem requires pattern matching at the level of the FielSetMapper then? It would be easy to write a PatternMatchingCompositeFieldSetMapper.