Class SQLiteJDBCLoader
java.lang.Object
org.sqlite.SQLiteJDBCLoader
@AndroidSignatureIgnore(explanation="The loader is not used on Android")
public class SQLiteJDBCLoader
extends Object
Set the system properties, org.sqlite.lib.path, org.sqlite.lib.name, appropriately so that the
SQLite JDBC driver can find *.dll, *.dylib and *.so files, according to the current OS (win,
linux, mac).
The library files are automatically extracted from this project's package (JAR).
usage: call initialize() before using SQLite JDBC driver.
- Author:
- leo
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis class will load the version from resources during. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intstatic Stringstatic booleanLoads SQLite native JDBC library.static booleanChecks if the SQLite JDBC driver is set to native mode.
-
Constructor Details
-
SQLiteJDBCLoader
public SQLiteJDBCLoader()
-
-
Method Details
-
initialize
-
isNativeMode
-
getMajorVersion
public static int getMajorVersion()- Returns:
- The major version of the SQLite JDBC driver.
-
getMinorVersion
public static int getMinorVersion()- Returns:
- The minor version of the SQLite JDBC driver.
-
getVersion
- Returns:
- The version of the SQLite JDBC driver.
-