Class ResourceNativeLibraryBinaryProvider

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.InputStream getLibraryStream​(SystemType systemType, java.lang.String libraryName)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceNativeLibraryBinaryProvider

        public ResourceNativeLibraryBinaryProvider​(java.lang.Class<?> classLoaderSample,
                                                   java.lang.String nativesRoot)
    • Method Detail

      • getLibraryStream

        public java.io.InputStream getLibraryStream​(SystemType systemType,
                                                    java.lang.String libraryName)
        Specified by:
        getLibraryStream in interface NativeLibraryBinaryProvider
        Parameters:
        systemType - Detected system type.
        libraryName - Name of the library to load.
        Returns:
        Stream to the library binary. null causes failure.