Java - How to list content of a directory?
<p>I want to display the content of the directory /etc/yum.repos.d in Centos. Usually in this directory is stored information about repositories from which Centos downloads RPM packages.
What is the proper way to display the content of a directory in Java?</p>

<p>Best wishes </p>
