private String extractLibrary (String sharedLibName) { String srcCrc = crc(JniGenSharedLibraryLoader.class.getResourceAsStream("/" + sharedLibName)); File nativesDir = new File(System.getProperty("java.io.tmpdir") + "/jnigen/" + srcCrc); File nativeFile = new File(nativesDir, sharedLibName); if (nativeFile.exists()) { try { extractedCrc = crc(new FileInputStream(nativeFile)); } catch (FileNotFoundException ignored) {
private String extractLibrary (String sharedLibName) { String srcCrc = crc(JniGenSharedLibraryLoader.class.getResourceAsStream("/" + sharedLibName)); File nativesDir = new File(System.getProperty("java.io.tmpdir") + "/jnigen/" + srcCrc); File nativeFile = new File(nativesDir, sharedLibName); if (nativeFile.exists()) { try { extractedCrc = crc(new FileInputStream(nativeFile)); } catch (FileNotFoundException ignored) {
private String extractLibrary (String sharedLibName) { String srcCrc = crc(JniGenSharedLibraryLoader.class.getResourceAsStream("/" + sharedLibName)); File nativesDir = new File(System.getProperty("java.io.tmpdir") + "/jnigen/" + srcCrc); File nativeFile = new File(nativesDir, sharedLibName); if (nativeFile.exists()) { try { extractedCrc = crc(new FileInputStream(nativeFile)); } catch (FileNotFoundException ignored) {