Dear,

I am currently migrating an application to the OSGi concepts... and I have a
problem. In a general module (which could be a kind of framework), the
application dynamically loads properties files.

To do that, it receives a path and loops on the URLs, check the protocol to
load the properties file (by example : if (protocol == file) ... else if
(protocol == jar) { <loop on the jar entry> }

Now I receive the bundle protocol. How can I deal with that ? I would like
to do the same as for the jar (so open the Connection on the URL and receive
something like a JarFile and loop on the JarEntry), is it possible ?


Thank you in advance,
Best regards,
Mathieu

Reply via email to