Package org.jboss.netty.util.internal
Class NativeLibraryLoader
java.lang.Object
org.jboss.netty.util.internal.NativeLibraryLoader
Helper class to load JNI resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final InternalLogger
private static final String
private static final String
private static final File
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
isOSX()
private static boolean
static void
load
(String name, ClassLoader loader) Load the given library with the specifiedClassLoader
private static File
tmpdir()
private static File
toDirectory
(String path)
-
Field Details
-
logger
-
NATIVE_RESOURCE_HOME
- See Also:
-
OSNAME
-
WORKDIR
-
-
Constructor Details
-
NativeLibraryLoader
private NativeLibraryLoader()
-
-
Method Details
-
tmpdir
-
toDirectory
-
isWindows
private static boolean isWindows() -
isOSX
private static boolean isOSX() -
load
Load the given library with the specifiedClassLoader
-