Class NativeLibraryLoader
java.lang.Object
org.jboss.netty.util.internal.NativeLibraryLoader
Helper class to load JNI resources.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final InternalLoggerprivate static final Stringprivate static final Stringprivate static final File -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanisOSX()private static booleanstatic voidload(String name, ClassLoader loader) Load the given library with the specifiedClassLoaderprivate static Filetmpdir()private static FiletoDirectory(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
-