You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Sergey Vladimirov <vl...@gmail.com> on 2009/04/18 16:47:23 UTC

[Commons-VFS] Use URI as FileName holder. Was: Re: Commons-VFS SVN commit permission

Mario,
In most cases GenericFileName or LocalFileName is used. Both of them can be
represented as "native" URI.

LayeredFileName (the one with "!" syntax) can't be used with "native" URI,
of course.

It's still possible to use URI as internal storage for GeneriFileName and
get rid of several methods, that have similar functionality from JDK.
Including, but not limited to, parsing and string representation building.

-- 
Sergey.

On Thu, Apr 16, 2009 at 8:27 PM, Mario Ivankovits <ma...@ops.co.at> wrote:

> Hi!
>
> > > Have an idea to change FileName implementation to use Java's
> > > internal URI,
> > > and it need to be discussed first. 2.0 release may be the only good
> > > point to
> > > do that in next few years :)
> > >
> >
> > There are a bunch of places where URI should have been used.
>
> Please keep in mind that VFS is able to use "nested" URIs, e.g.
> tar:gz:file:// etc.
> Is this doable with Javas URI class?
>
> Ciao,
> Mario
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>


-- 
Sergey Vladimirov