Josh
Native console access wrapper for Java

com.yifanlu.Josh
Class LibraryLoader

java.lang.Object
  extended by com.yifanlu.Josh.LibraryLoader

public class LibraryLoader
extends java.lang.Object

Used to load the JoshCore library. Internal use only, you don't need this.

Since:
1.3
Version:
1.3, 05/29/10
Author:
Yifan Lu

Constructor Summary
LibraryLoader()
           
 
Method Summary
static void loadJosh()
          Loads JoshCore.dll to memory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryLoader

public LibraryLoader()
Method Detail

loadJosh

public static void loadJosh()
                     throws OSNotSupportedException
Loads JoshCore.dll to memory. There are three possible locations for the JoshCore.dll library. First, it looks in Java's java.library.path, if that fails, it will look in the system temporary folder, and if that fails, it will extract the correct library from the JAR file.

Throws:
OSNotSupportedException - If the OS is not Windows or Java is not 32-bit.

Copyright © 2010 Yifan Lu