commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [VFS] getChildren()
Date Fri, 18 Feb 2005 19:25:49 GMT
Andy Lewis wrote:
> What about supporting both FileSelector and FileFilter, with the 
> traverseDescendents() implicitly false on FileFilter to mirror 
> behavior?
Now there is a new Selector (FileFilterSelector) and a new interface 

        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.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message