Class NativeLibraryLoader


  • public final class NativeLibraryLoader
    extends Object
    Helper class to load JNI resources.
    • Method Detail

      • loadFirstAvailable

        public static void loadFirstAvailable​(ClassLoader loader,
                                              String... names)
        Loads the first available library in the collection with the specified ClassLoader.
        Throws:
        IllegalArgumentException - if none of the given libraries load successfully.