51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java
  • fiftyone
  • pipeline
  • engines
  • fiftyone
  • flowelements
  • interop
  • LibLoader

fiftyone.pipeline.engines.fiftyone.flowelements.interop.LibLoader Class Reference

Detailed Description

Native library loader class used to load the correct compiled library for an AspectEngine.

Classes

enum  OS
Enumeration of supported Operating System groups.

Static Public Member Functions

static String  getLibName (Class engineClass)
Get the file name for the compiled native library. More...
static void  load (Class engineClass) throws IOException, UnsupportedOperationException
Copies 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. More...

Member Function Documentation

◆ getLibName()

static String fiftyone.pipeline.engines.fiftyone.flowelements.interop.LibLoader.getLibName ( Class   engineClass )
static

Get the file name for the compiled native library.

Returns
String full file name

◆ load()

static void fiftyone.pipeline.engines.fiftyone.flowelements.interop.LibLoader.load ( Class   engineClass ) throws IOException, UnsupportedOperationException
static

Copies 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.

Exceptions
UnsupportedOperationException - if the package does not contain a native library for the environment
IOException - thrown if there is a problem copying the resource