高级算法

This commit is contained in:
2023-08-23 18:50:23 +08:00
parent ef0ab5eac4
commit 5001c1ecf0

View File

@@ -42,7 +42,6 @@ public class JnaCallDllOrSo {
boolean d = dockerFile.createNewFile(); boolean d = dockerFile.createNewFile();
System.out.println("文件夹创建:"+f); System.out.println("文件夹创建:"+f);
System.out.println("文件创建:"+d); System.out.println("文件创建:"+d);
}
try (InputStream inputStream = getClass().getClassLoader().getResourceAsStream(this.nameDll.concat(suffix))) { try (InputStream inputStream = getClass().getClassLoader().getResourceAsStream(this.nameDll.concat(suffix))) {
try (FileOutputStream outputStream = new FileOutputStream(dockerFile)) { try (FileOutputStream outputStream = new FileOutputStream(dockerFile)) {
@@ -53,6 +52,7 @@ public class JnaCallDllOrSo {
} }
} }
} }
}
this.path = dockerFile.getAbsolutePath(); this.path = dockerFile.getAbsolutePath();
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage()); log.error(e.getMessage());