Andy Lewis wrote:
What about supporting both FileSelector and FileFilter, with the traverseDescendents() implicitly false on FileFilter to mirror java.io.File behavior?
Now there is a new Selector (FileFilterSelector) and a new interface (FileFilter).

       FileObject fo = VFS.getManager().resolveFile("/home/im");
       fo.findFiles(new FileFilterSelector(ff));

There is no need to implement the FileFilter interface as it is possible to override the accept() method of FileFilterSelector.

---
Mario


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to