meaning of PRUNE in FileVisitor.visitFile() ?

Rajendra Gutupalli Rajendra.Gutupalli at Sun.COM
Fri Aug 8 05:01:38 PDT 2008


Hi Alan,

The spec for PRUNE says "Continue without visiting the entries in this 
directory. This result is only meaningful when returned from the 
preVisitDirectory method; otherwise this result type is the same as 
returning CONTINUE.". Does the PRUNE work in visitFile()  method as 
"Continue without visiting 'remaining' entries in the directory". Now it 
treats PRUNE as CONTINUE in visitFile() method. Could you please tell me 
how can we continue from visiting the remaining entries of the directory?

Thanks
Rajendra.

 



More information about the nio-dev mailing list