In unix-based systems, a directory is really just a different type of file. If you create a File object out of a “path/to/some/files” there is an easy way to get a listing of all the files in an array.
WARNING: there are such things as “hidden files.” Hidden files begin with a ‘dot’ (.). For example, […]
Posted on August 2nd, 2007 by Baker Franke
Filed under: HOW TOs | No Comments »