Class LibraryLoaderUtil


  • public class LibraryLoaderUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String NATIVE_LIB_BASE_NAME  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getNativeLibName()
      Get the OS-specific name of the sqlitejdbc native library.
      static java.lang.String getNativeLibResourcePath()
      Get the OS-specific resource directory within the jar, where the relevant sqlitejdbc native library is located.
      static boolean hasNativeLib​(java.lang.String path, java.lang.String libraryName)  
      • Methods inherited from class java.lang.Object

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

      • NATIVE_LIB_BASE_NAME

        public static final java.lang.String NATIVE_LIB_BASE_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • LibraryLoaderUtil

        public LibraryLoaderUtil()
    • Method Detail

      • getNativeLibResourcePath

        public static java.lang.String getNativeLibResourcePath()
        Get the OS-specific resource directory within the jar, where the relevant sqlitejdbc native library is located.
      • getNativeLibName

        public static java.lang.String getNativeLibName()
        Get the OS-specific name of the sqlitejdbc native library.
      • hasNativeLib

        public static boolean hasNativeLib​(java.lang.String path,
                                           java.lang.String libraryName)