| Modifier and Type | Field and Description |
|---|---|
| private static File | |
| private static String | |
| private static String | |
| private static final HashSet | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| pack-priv static byte[] | |
| private static String[] | |
| private static boolean | installLibraryFromResource(String libraryName, List<String> dependencies, Class<T> caller, boolean load)
If there is a library with the platform-correct name at the root of the resources in this jar, install it. |
| private static File | |
| private static File | |
| public static synchronized void | |
| public static synchronized void | |
| private static boolean | loadLibraryFromResource(String libraryName, List<String> dependencies, Class<T> caller)
If there is a library with the platform-correct name at the root of the resources in this jar, use that. |
| private static void | loadLibraryFullPath(String libraryName)
Load the native library either from the same directory as the jar file containing this class, or from the Java runtime. |
| private static void |
| libDir | back to summary |
|---|---|
| private static File libDir | |
| libPrefix | back to summary |
|---|---|
| private static String libPrefix | |
| libSuffix | back to summary |
|---|---|
| private static String libSuffix | |
| loaded | back to summary |
|---|---|
| private static final HashSet<String> loaded | |
| verbose | back to summary |
|---|---|
| private static boolean verbose | |
| NativeLibLoader | back to summary |
|---|---|
| public NativeLibLoader() | |
| cacheLibrary | back to summary |
|---|---|
| private static String cacheLibrary(InputStream is, String name, Class<T> caller) throws IOException | |
| calculateCheckSum | back to summary |
|---|---|
| pack-priv static byte[] calculateCheckSum(File file) | |
| initializePath | back to summary |
|---|---|
| private static String[] initializePath(String propname) | |
| installLibraryFromResource | back to summary |
|---|---|
| private static boolean installLibraryFromResource(String libraryName, List<String> dependencies, Class<T> caller, boolean load) If there is a library with the platform-correct name at the root of the resources in this jar, install it. If load is true, also load it. | |
| libDirForJarFile | back to summary |
|---|---|
| private static File libDirForJarFile(String classUrlString) throws Exception | |
| libDirForJRT | back to summary |
|---|---|
| private static File libDirForJRT() | |
| loadLibrary | back to summary |
|---|---|
| public static synchronized void loadLibrary(String libname) | |
| loadLibrary | back to summary |
|---|---|
| public static synchronized void loadLibrary(String libname, List<String> dependencies) | |
| loadLibraryFromResource | back to summary |
|---|---|
| private static boolean loadLibraryFromResource(String libraryName, List<String> dependencies, Class<T> caller) If there is a library with the platform-correct name at the root of the resources in this jar, use that. | |
| loadLibraryFullPath | back to summary |
|---|---|
| private static void loadLibraryFullPath(String libraryName) Load the native library either from the same directory as the jar file containing this class, or from the Java runtime. | |
| loadLibraryInternal | back to summary |
|---|---|
| private static void loadLibraryInternal(String libraryName, List<String> dependencies, Class<T> caller) | |