MCPcopy Create free account
hub / github.com/java-native-access/jna / extractFromResourcePath

Method extractFromResourcePath

src/com/sun/jna/Native.java:1146–1148  ·  view source on GitHub ↗

Attempt to extract a native library from the current resource path, using the current thread context class loader. @param name Base name of native library to extract. May also be an absolute resource path (i.e. starts with "/"), in which case the no transformations of the library name are performed

(String name)

Source from the content-addressed store, hash-verified

1144 * @throws IOException if resource not found
1145 */
1146 public static File extractFromResourcePath(String name) throws IOException {
1147 return extractFromResourcePath(name, null);
1148 }
1149
1150 /** Attempt to extract a native library from the resource path using the
1151 * given class loader.

Calls 15

mapSharedLibraryNameMethod · 0.95
getTempDirMethod · 0.95
isWindowsMethod · 0.95
containsMethod · 0.80
getPathMethod · 0.80
getPropertyMethod · 0.65
readMethod · 0.65
closeMethod · 0.65
logMethod · 0.45
getResourceMethod · 0.45
lengthMethod · 0.45
toStringMethod · 0.45