I believe it will be implemented in Java 7. Carl would know for sure since I believe he worked on it. You might try Commons VFS though. It has support for a number of different file systems and does some caching.
Hope this helps, Mark On Wednesday, January 6, 2010, John Muir <[email protected]> wrote: > And does anyone know when JSR-203 will be implemented? Java 7? > > On Jan 7, 12:46 am, John Muir <[email protected]> wrote: >> I think you are on to the correct explanation, at least from what I >> read on the Sun/Bugs site. It seems to be related to caching the file >> information. >> >> However, as the facts stand it's much slower over the network, so to >> return to the original post - does anyone have a solution or >> workaround? >> >> On Jan 7, 12:09 am, Christian Catchpole <[email protected]> >> wrote: >> >> >> >> > Here is my "guess" as to what is happening (I had a quick look at the >> > bug ticket but couldn't see an explanation). >> >> > And I haven't written this sort of code in C for a while, so this is >> > an extra big guess. >> >> > When you get a dir list in Java it creates a list of File objects >> > which are just paths to the file. Calling isDirectory() forces is to >> > go back the the network because it doesn't have any kind of real >> > handle on the OS object which represents the file. >> >> > In C, when you get a directory list, do you get a list of "handles to >> > OS objects" which can be polled immediately for an attribute? > -- Mark Fortner blog: http://feeds.feedburner.com/jroller/ideafactory
-- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
