Class ResourceNativeLibraryBinaryProvider
- java.lang.Object
-
- com.sedmelluq.lava.common.natives.ResourceNativeLibraryBinaryProvider
-
- All Implemented Interfaces:
NativeLibraryBinaryProvider
public class ResourceNativeLibraryBinaryProvider extends java.lang.Object implements NativeLibraryBinaryProvider
-
-
Constructor Summary
Constructors Constructor Description ResourceNativeLibraryBinaryProvider(java.lang.Class<?> classLoaderSample, java.lang.String nativesRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetLibraryStream(SystemType systemType, java.lang.String libraryName)
-
-
-
Method Detail
-
getLibraryStream
public java.io.InputStream getLibraryStream(SystemType systemType, java.lang.String libraryName)
- Specified by:
getLibraryStreamin interfaceNativeLibraryBinaryProvider- Parameters:
systemType- Detected system type.libraryName- Name of the library to load.- Returns:
- Stream to the library binary.
nullcauses failure.
-
-