Can values defined in MANIFEST.MF be accessed programmatically?

android, jar, java, manifest

Solution

Open the file with `JarFile` and then call `getManifest()` to get the `Manifest`. After that you can access the attributes appropriately.

Problem

Can I access the values defined in a java manifest from code?

Original source