Results 1 to 2 of 2

Thread: Question about the PatternMatchingCompositeLineMapper

  1. #1
    Join Date
    Nov 2010
    Posts
    20

    Question 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?

    Thanks.

    yours,
    Yvi

  2. #2
    Join Date
    Jun 2005
    Posts
    4,230

    Default

    Maybe your problem requires pattern matching at the level of the FielSetMapper then? It would be easy to write a PatternMatchingCompositeFieldSetMapper.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •