title: How to get list of files/directories of an directory URL?
body: <p>Let say I have a URL: <code>http://java.sun.com/j2se/1.5/pdf</code> I want to get a list of all files/directories under the <code>pdf</code> directory.</p>
  
  <p>I'm using Java 5.</p>
  
  <p>I can get the list of dir with this program <a href="http://www.httrack.com/" rel="nofollow noreferrer">http://www.httrack.com/</a>, but with Java I don't know if it is possible.</p>
  
  <p>Does any body know how to get it in Java? Or how can this program do the job if Java can't?</p>