You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by David <da...@gmail.com> on 2020/09/04 15:59:52 UTC
Apache VFS v.s. NIO FileSystem
Hello Apache,
I understand that AVFS had implemented quite a few filesystems, but from an
architectural view, can someone please provide some insight on how Apache
VFS compares to Java NIO FileSystem (Released in JDK 1.7)? Is there any
integration between the two?
https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html
Thanks.
Re: Apache VFS v.s. NIO FileSystem
Posted by Gary Gregory <ga...@gmail.com>.
A start might be to provide some kind of bridge provider for both systems.
Gary
On Fri, Sep 4, 2020, 12:12 Matt Sicker <bo...@gmail.com> wrote:
> There's been talk about supporting it in the past, but no code yet. I
> had looked into that a while back when I was working on a project
> using that API, but that never materialized.
>
> On Fri, 4 Sep 2020 at 11:00, David <da...@gmail.com> wrote:
> >
> > Hello Apache,
> >
> > I understand that AVFS had implemented quite a few filesystems, but from
> an
> > architectural view, can someone please provide some insight on how Apache
> > VFS compares to Java NIO FileSystem (Released in JDK 1.7)? Is there any
> > integration between the two?
> >
> > https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html
> >
> > Thanks.
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
Re: Apache VFS v.s. NIO FileSystem
Posted by Xeno Amess <xe...@gmail.com>.
As far as I can see, there be tons of work before we really want to do
integration with any existed FileSystem in jdk...
For example our file:/ scheme is not quite equal to their...
You can test it with a file who contains a space in its file name...
I can't even imagine how to fix it (means we have to re-write out file:/
scheme totally, and will cause behavior changes)
Matt Sicker <bo...@gmail.com> 于2020年9月5日周六 上午12:12写道:
> There's been talk about supporting it in the past, but no code yet. I
> had looked into that a while back when I was working on a project
> using that API, but that never materialized.
>
> On Fri, 4 Sep 2020 at 11:00, David <da...@gmail.com> wrote:
> >
> > Hello Apache,
> >
> > I understand that AVFS had implemented quite a few filesystems, but from
> an
> > architectural view, can someone please provide some insight on how Apache
> > VFS compares to Java NIO FileSystem (Released in JDK 1.7)? Is there any
> > integration between the two?
> >
> > https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html
> >
> > Thanks.
>
>
>
> --
> Matt Sicker <bo...@gmail.com>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>
Re: Apache VFS v.s. NIO FileSystem
Posted by Matt Sicker <bo...@gmail.com>.
There's been talk about supporting it in the past, but no code yet. I
had looked into that a while back when I was working on a project
using that API, but that never materialized.
On Fri, 4 Sep 2020 at 11:00, David <da...@gmail.com> wrote:
>
> Hello Apache,
>
> I understand that AVFS had implemented quite a few filesystems, but from an
> architectural view, can someone please provide some insight on how Apache
> VFS compares to Java NIO FileSystem (Released in JDK 1.7)? Is there any
> integration between the two?
>
> https://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html
>
> Thanks.
--
Matt Sicker <bo...@gmail.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org