public void readJarFile() throws IOException {
String jarFilePath = getJarFilePath();
JarFile jarFile = new JarFile(new File(jarFilePath));
Enumeration<JarEntry> entries = ();
while (()) {
JarEntry jarEntry = ();
String innerPath = ();
if (("")) {
InputStream inputStream = (jarEntry);
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
String line = null;
while (null != (line = ())) {
//这里处理mf文件,读取项目名称和版本
}
();
}
}
();
}
public String getJarFilePath() throws FileNotFoundException {
ApplicationHome h = new ApplicationHome(getClass());
File jarFile = ();
return ();
}