commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schuett, Thomas \(EXT\)" <Thomas.Schuett.ext...@mchh.siemens.de>
Subject AW: [VFS] URLInputStream("jar:file:/Z:/some/where.jar!/META-INF/MANIFEST.MF") ???
Date Mon, 05 Sep 2005 15:40:12 GMT
Ups - nearly overseen this answer in the flood of postings :-)

> As a VFS start you can do:
> FileObject fo = 
>
VFS.getManager().resolveFile("jar:file://Z:/some/where.jar!/META-INF/MAN
IFEST.MF");
>
> This will do what you want.

Sounds good. However, as I have overseen this reply in the first hand,
I tried by myself, going to use JarFile, and splitting the URI at the
"!"
by myself. 

But I am sure I can need your approach for more general problems
somewhere in the future.

Thanks for help!
 Thomas

> I'll try to polish the docu :-)
:-)


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message