Possible Duplicate:
How to retrieve a list of directories QUICKLY in Java?
Java does not have a listDirectories/listFiles method, in order to find out your set of directories or files, you have to iterate through each one and call isDirectory. This proves to be a huge performance problem for us in the unix platform. Is there a native library with those fucntions implemented?
Thanks