Hello Friends,
In oder to get the folders list, I am working something like below
java.io.File folders[] = webFile.listFiles();
for (int i = 0; i < folders.length; i++) {
// process all objects present in this folder
System.err.println("Sub URL:"+folders[i]);
}
But the problem is I am getting all files and folders list from the
web resouce. So I need to check the resource using
folders[i].isDirectory() in order to get the folders list , hence my
application gives poor performance (each folder contains 5000 -
50,000 files -approx)
So could any body tell me, if there is a method where I can get the
folders list directly
In otherwords, I am looking at methods as listed below
webFile.listAll() -> if user wants all files and directories
webFile.listFiles() -> get only files
webFile.listDirectories() -> Get only directories.
Is it possible with current slide API??
Thanks
Sudhakar.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]