How do I read the manifest of a JAR file?

John Zukowski

Just retrieve it with the getManifest() method of the java.util.jar.JarFile class:

JarFile jar = new JarFile(file);
Manifest manifest = jar.getManifest();
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact