On 10/15/2010 04:57 PM, Costin Manolache wrote:
Are you going to replace DirContext ?
If yes - great, but please first send a quick summary comparing your API
with the other VFS
around in apache. I think commons has few targets, including a hdfs, I
remember there are more.
Well it's not a VFS, and it doesn't have an API.
The API is java.io + java.util.zio with o.a.t.vfs namespace
instead java.io
(Frankly didn't came up to the DirContext in experiment,
but it shouldn't be any different then others)
So the o.a.t.vfs.File is java.io.File in case the provider
in "transparent". In case it's "raw" (Those names are mine)
the File is o.a.t.vfs.providers.raw.File which only makes
sure that it doesn't cross the "root" mount point.
The point here is that provider *can* use commons vfs,
and that's the idea, but then again the Hadoop's hdfs has a
descent API on it's own.
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org