com.lambdaworks.jni
Class SysLibraryLoader

java.lang.Object
  extended by com.lambdaworks.jni.SysLibraryLoader
All Implemented Interfaces:
LibraryLoader

public class SysLibraryLoader
extends Object
implements LibraryLoader

A native library loader that simply invokes System.loadLibrary(java.lang.String). The shared library path and filename are platform specific.

Author:
Will Glozer

Constructor Summary
SysLibraryLoader()
           
 
Method Summary
 boolean load(String name, boolean verify)
          Load a shared library.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SysLibraryLoader

public SysLibraryLoader()
Method Detail

load

public boolean load(String name,
                    boolean verify)
Load a shared library.

Specified by:
load in interface LibraryLoader
Parameters:
name - Name of the library to load.
verify - Ignored, no verification is done.
Returns:
true if the library was successfully loaded.


Copyright © 2013. All Rights Reserved.