Class LibraryLoader


  • class LibraryLoader
    extends java.lang.Object
    The Class LibraryLoader.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      (package private) static class  LibraryLoader.OperatingSystem
      The operating system type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int archBits
      The machine word size.
      static java.lang.String archName
      The architecture name (empty except on Mac)
      static java.lang.String archType
      The architecture type (x64, arm64, x86)
      static LibraryLoader.OperatingSystem OS
      The operating system type.
    • Constructor Summary

      Constructors 
      Constructor Description
      LibraryLoader()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) static void loadLibraryFromJar​(java.lang.String libraryResourcePath)
      Load library from jar.
      • Methods inherited from class java.lang.Object

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

      • archBits

        public static int archBits
        The machine word size.
      • archName

        public static java.lang.String archName
        The architecture name (empty except on Mac)
      • archType

        public static java.lang.String archType
        The architecture type (x64, arm64, x86)
    • Constructor Detail

      • LibraryLoader

        LibraryLoader()
    • Method Detail

      • loadLibraryFromJar

        static void loadLibraryFromJar​(java.lang.String libraryResourcePath)
        Load library from jar.
        Parameters:
        libraryResourcePath - the library resource path