View Single Post
Old 10-28-2004, 07:26 AM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
You probably haven't looked at the Javadocs for File. File can either represent a standard file, or a directory. If it's the latter, you can use the list() method to get an array of Strings listing the contents of the directory.
__________________
GitS
Belisarius is offline   Reply With Quote