be.cardon.utils
Class LibraryLoader
java.lang.Object
be.cardon.utils.LibraryLoader
public class LibraryLoader
- extends java.lang.Object
Constructor Summary |
LibraryLoader()
Creates a new instance of LibraryLoader |
Method Summary |
static void |
copy(java.io.File src,
java.io.File dest,
int bufferSize)
|
static void |
copy(java.io.InputStream src,
java.io.File dest,
int bufferSize)
|
static void |
loadLib(java.lang.ClassLoader classLoader,
java.lang.String libName,
java.lang.String extension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tempDirPropertyName
public static java.lang.String tempDirPropertyName
libPathPropertyName
public static java.lang.String libPathPropertyName
NOT_FOUND
public static java.lang.String NOT_FOUND
LibraryLoader
public LibraryLoader()
- Creates a new instance of LibraryLoader
loadLib
public static void loadLib(java.lang.ClassLoader classLoader,
java.lang.String libName,
java.lang.String extension)
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
copy
public static void copy(java.io.InputStream src,
java.io.File dest,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static void copy(java.io.File src,
java.io.File dest,
int bufferSize)
throws java.io.IOException
- Throws:
java.io.IOException