public class NativeLibraryPathResolver
extends java.lang.Object
/native/$os/$arch/native_lib_filenameValid $os values include:
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()