title: Java - how to get all the file names in a folder
body: <p>I'm not a really good Java programmer and I need to know how I can print out all the files in a single folder. See the code below:</p>
  
  <pre><code>for(int i=0;i&lt;folder.number_of_files;i++){
  System.out.println(filename[i]);
  }
  </code></pre>
  
  <p>Thanks for your time</p>