webapp MANIFEST

朱风史
2023-12-01
InputStream inputStream = Version.class.getClassLoader().getResourceAsStream("/META-INF/MANIFEST.MF");
String version = DEFAULT_VERSION;
       
Manifest manifest = new Manifest(inputStream);
Attributes ab = manifest.getMainAttributes();
version = ab.getValue(Name.IMPLEMENTATION_VERSION);

 

最后欢迎大家访问我的个人网站:1024s

 类似资料:

相关阅读

相关文章

相关问答