title: Java searching file name from the one folder
body: <p>I am studying Java and I am not really sure the way to searching file.  I would like to build the function which returning file names ( the files name should begin with <code>star</code> and end with <code>.txt</code>)</p>
  
  <p>For example, in the folder we have Java source file with some file.  For example, files:</p>
  
  <ul>
  <li>1.txt </li>
  <li>2.txt </li>
  <li>4.txt</li>
  <li>start.txt </li>
  <li>star.txt </li>
  <li>onstart.txt</li>
  <li>starton.txt </li>
  <li>myjava.java</li>
  </ul>
  
  <p>Then I would like to get the <code>start.txt</code>, <code>star.txt</code> &amp; <code>starton.txt</code></p>
  
  <p>I was looking for the <code>FilenameFilter</code> but I wasn't able to find to good way to find file.  Does any one know the way to find files?</p>