How to read directory contents?

Hello Everyone,

Our process involves generating reports and saving them into some directory on the server. Later on we would want to read the contents of that directory (read all of the file names) and generate HTML file with links to these files.

How do we read the file names from that directory?

Any help will be greatly appreciated.

Thanks in advance,

Y.M.

[404 byte] By [yurkom] at [2007-9-26 3:32:54]
# 1
File.list()andFile.list(FileFilter)
dubwai at 2007-6-29 12:00:54 > top of Java-index,Archived Forums,Java Programming...