I usually prefer FileFilter to FilenameFilter - less time is wasted converting things to File objects, which are more usefuol than Strings for talking about files. However, to list subdirectory contents too, I think you're probably best off not using File(name)Filter, and just recursively call File's listFiles method:
"I'm not back." - Bill Harding, Twister
posted 15 years ago
Hi, Many thanx for the support extended. The code was quiet helpful. Actually i tried out something like that but was taking more time to give out the list. This is quiet fast than what i tried out.
It's just a flesh wound! Or a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop