title: Another way to parse txt files in Java?
body: <p>Is there exists some another way to parse .txt file in Java except</p>
  <pre><code>BufferedReader reader = new BufferedReader(...);
  String line;
  
  while ((line = reader.readLine()) != null) {...}
  
  </code></pre>
  <p>?</p>
  <p>I need to parse this file moving by 2 rows.
  Is there any way to rebuild <em>while</em> loop into <em>forEach</em> with iterator?</p>
  <p>Thanks for the answer.</p>