Class NativeLibrary
java.lang.Object
org.maplibre.nativeffi.internal.loader.NativeLibrary
Loads the native Maplibre C ABI library for the Java FFM binding.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
LIBRARY_NAME
- See Also:
-
LIBRARY_PATH_PROPERTY
- See Also:
-
LIBRARY_PATH_ENV
- See Also:
-
-
Method Details
-
load
public static void load()Loads the native library once.Lookup order:
- exact library file path from "org.maplibre.nativeffi.library.path";
- exact library file path from "MAPLIBRE_NATIVE_FFI_LIBRARY_PATH";
System.loadLibrary(String)RESTRICTED with "maplibre-native-c".
-
load
Loads an exact native library file path once. -
isLoaded
public static boolean isLoaded() -
loadedPath
-
loadedSource
-