com.lambdaworks.jni
Class NilLibraryLoader

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

public class NilLibraryLoader
extends Object
implements LibraryLoader

A native library loader that refuses to load libraries.

Author:
Will Glozer

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

Constructor Detail

NilLibraryLoader

public NilLibraryLoader()
Method Detail

load

public boolean load(String name,
                    boolean verify)
Don't 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:
false.


Copyright © 2013. All Rights Reserved.