java.lang.Package might work if the manifest has useful information in it. 

Sent from my iPhone

On Mar 22, 2012, at 6:45 AM, Thomas Darimont <[email protected]> 
wrote:

> One way would be:
> 
> Open the file (guice-xxxx.jar) with JarFile 
> (http://docs.oracle.com/javase/7/docs/api/java/util/jar/JarFile.html) 
> and then call getManifest() to get the Manifest 
> (http://docs.oracle.com/javase/6/docs/api/java/util/jar/Manifest.html) . 
> After that you can access the attributes (via getAttributes()) appropriately.
> 
> Look at guice-xxxx.jar/ META-INF/MANIFEST.MF for properties of interest (e.g. 
> Bundle-Version)
> 
> Best regards,
> Thomas
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "google-guice" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-guice?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en.

Reply via email to