title: Read file content which start with # using Spring Batch
body: <p>I have a very simple Spring Batch application which reads multiple file and write it to one file. My project is working super fine in all scenario except if a line start with "#" in my file. My reader doesn't read that line. Problem is that the upper system is going to send down the files where everyline start with # :(</p>
  
  <p>Does anyone faced similar issue and how to solve it.</p>
  
  <p>Thanks in advance..</p>
  
  <p>My tokenizerconfig</p>
  
  <pre><code>&lt;bean id="accountDataTokenizer" class="org.springframework.batch.item.file.transform.PatternMatchingCompositeLineTokenizer"&gt;
      &lt;property name="tokenizers"&gt;
          &lt;map&gt;
              &lt;entry key="#ACCOUNT*" value-ref="headerRecordTokenizer" /&gt;
              &lt;entry key="*" value-ref="defaultLineTokenizer" /&gt;
          &lt;/map&gt;
      &lt;/property&gt;
  &lt;/bean&gt;
  </code></pre>
  
  <p>
      
          
          
      </p>