Package com.lambdaworks.jni
Class SysLibraryLoader
- java.lang.Object
-
- com.lambdaworks.jni.SysLibraryLoader
-
- All Implemented Interfaces:
LibraryLoader
public class SysLibraryLoader extends java.lang.Object implements LibraryLoader
A native library loader that simply invokesSystem.loadLibrary(java.lang.String)
. The shared library path and filename are platform specific.
-
-
Constructor Summary
Constructors Constructor Description SysLibraryLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
load(java.lang.String name, boolean verify)
Load a shared library.
-
-
-
Method Detail
-
load
public boolean load(java.lang.String name, boolean verify)
Load a shared library.- Specified by:
load
in interfaceLibraryLoader
- Parameters:
name
- Name of the library to load.verify
- Ignored, no verification is done.- Returns:
- true if the library was successfully loaded.
-
-