Class NativeLibLoader

java.lang.Object
de.rasmusantons.cubiomes.NativeLibLoader

public class NativeLibLoader extends Object
Extracts the embedded native library from the jar and loads it.
  • Field Details

    • isLoaded

      public static boolean isLoaded
  • Constructor Details

    • NativeLibLoader

      public NativeLibLoader()
  • Method Details

    • ensureLoaded

      public static boolean ensureLoaded()
      This will load the library only if it hasn't been loaded yet. This function can be called multiple times.
      Returns:
      true, if the library was successfully extracted, otherwise false