title: equivalent findAll python method in Java
body: <p>I'm wondering if in Java there is the equivalent python method findAll. Often I read a file line by line to check if that line matches a regular expression. So if in python I can do:</p>
  
  <pre><code> # Feed the file text into findall(); it returns a list of all the found strings
     strings = re.findall(r'some pattern', f.read())
  </code></pre>
  
  <p>is there a similar method to do this in Java?</p>