commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Vladimirov <vlser...@gmail.com>
Subject [Commons-VFS] Use URI as FileName holder. Was: Re: Commons-VFS SVN commit permission
Date Sat, 18 Apr 2009 14:47:23 GMT
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 <mario@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message