geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: How to read an entry in an embbed jar file of the bundle
Date Mon, 03 May 2010 12:55:27 GMT
Yes, but seems that I need to do a full loop to check whether a resource
exists or not.

2010/5/3 Justin Edelson <justinedelson@gmail.com>

> I believe you need to get an InputStream for a.jar, wrap it in a
> JarInputStream and then find the file you're looking for.
>
> On Mon, May 3, 2010 at 7:27 AM, Ivan <xhhsld@gmail.com> wrote:
>
> > Hi,
> >    Is there a simple way to read an entry in an embbed jar file of the
> > bundle ? For a bundle with the structure below :
> >   /META-INF
> >   a.jar
> >       /META-INF/a.xml
> >
> >  What is the correct entry path for the a.xml file ?
> >  Thanks !
> > --
> > Ivan
> >
>



-- 
Ivan

Mime
View raw message