--- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:

> Hello Dominique,
> 
> Dominique Devienne wrote:
> >>
> >> getURL() makes sense for FileResource and
> ZipResource too.
> >
> > Yes, but these can be expressed as URLResource
> just the same. Maybe
> > they should in fact derive from URLResource... 
> I do not agree with you on this. ZipResource and
> FileResource have the
> special semantics of resources which are centered on
> a root directory or
> root resource.
> This root is the directory of a fileset, or the
> whole zip file in case
> of ZipResource.
> 
> URLResource (s) AFAIK do not have a special "root".

I think they are considered as having a root concept;
they surely have the concept of a relative path.  See
the API for java.net.URL(URL, String).

-Matt

> 
> The root or base part of the ZipResource or
> FileResource change what
> happens when a copy is done, or a zip file gets
> built, ...
> 
> Regards,
> 
> Antoine
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to