[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.equinox] access zip file entry

I'd like to read an image from inside a zip that is in my bundle. I think Eclipse does similar things for reading files inside nested jars, etc. and I noticed a ZipBundleFile class in the org.eclipse.osgi bundle. Is this something I can use?

So far, the best I've been able to do is get the URL of the zip file:

URL url = context.getBundle().getEntry("icons.zip");

which gives me "bundleentry://1.fwk24435002/icons.zip"

Thanks!
Will