◆ getLibName()
static String fiftyone.pipeline.engines.fiftyone.flowelements.interop.LibLoader.getLibName | ( | Class<?> | engineClass | ) |
static
Get the file name for the compiled native library.
- Parameters
-
- engineClass - the class of the target engine to get the name for
- Returns
- String full file name
◆ load()
static void fiftyone.pipeline.engines.fiftyone.flowelements.interop.LibLoader.load ( Class<?> engineClass ) throws IOException, UnsupportedOperationException staticCopies the native library for the operating system, CPU architecture and Java version to the file system so that it can be loaded as a library for reference by the JVM.
Load the native library file needed for the Engine. If the package does not contain a native library for the target environment an exception is thrown.
- Parameters
-
- engineClass - the class of the target engine to load
- Exceptions
-
- UnsupportedOperationException - if the package does not contain a native library for the environment
- IOException - thrown if there is a problem copying the resource