>> I'm really looking for something similar to Spring's
>> Resource abstraction, so that one could copy from the filesystem, a
>> zip file (I know this is already possible), the classpath, a URL, etc.
>>
>
> This is pretty much what the FileCollection/FileTree and FileTreeElement
> interfaces provide. Perhaps they need better names, or perhaps we should
> extract some super-interfaces from them that represent a more abstract
> 'resource' concept.
>
> Regardless, I think we should end up with a bunch of implementations which
> let you copy from classpaths, URLs, SSH, and so on.
I can see the potential in these classes (and FileResolver) but they
all seem very File-centric, which isn't much good if you want to grab
one or two files from the classpath or a URL. FileTreeElement seems
the most interesting since it's the only one that provides access to
an input stream.
Cheers,
Peter
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email