public class NativeLibraryPathResolver
extends java.lang.Object
/native/$os/$arch/native_lib_filename
Valid $os values include:
Valid $arch values include:
This directory structure is used to load native library exports out of jar files.
| Constructor and Description |
|---|
NativeLibraryPathResolver() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getPlatformNativeSuffix()
Returns the native suffix, along with the ".", eg ".dll"
|
static java.lang.String |
resolvePath(java.lang.String filename)
Resolve the path to filename based on the current
Platform. |
static java.lang.String |
resolvePath(java.lang.String filename,
Platform platform)
Resolve the path to filename based on the given
Platform. |
public static java.lang.String resolvePath(java.lang.String filename)
Platform.filename - The name of the native library file.Platform.public static java.lang.String resolvePath(java.lang.String filename,
Platform platform)
Platform.public static java.lang.String getPlatformNativeSuffix()