代码修改
This commit is contained in:
parent
da27092d28
commit
6fd462a76e
|
@ -37,11 +37,12 @@ public class AutoExtract implements ActionListener {
|
|||
String licenseText = "";
|
||||
|
||||
InputStream is;
|
||||
JarFile extractJar;
|
||||
|
||||
try {
|
||||
// extractJar = new JarFile("extract.jar");
|
||||
JarFile extractJar = new JarFile("extract.jar");
|
||||
|
||||
is = extractJar.getInputStream(extractJar.getJarEntry("license/cpl-v10.html"));
|
||||
extractJar.close();
|
||||
} catch (IOException e) {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue