Can values defined in MANIFEST.MF be accessed programmatically?

后端 未结 5 2085
暖寄归人
暖寄归人 2020-11-30 12:49

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

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 13:03

    Here's a simple example of reading the main attributes from a JAR's manifest in situ. It's handy for checking up on what's actually there.

提交回复
热议问题