Methods Summary |
---|
public boolean | acceptsURL(java.lang.String url)
return url.startsWith("sqlite:/") ||
url.startsWith("jdbc:sqlite:/");
|
public java.sql.Connection | connect(java.lang.String url, java.util.Properties info)
if (!acceptsURL(url)) {
return null;
}
Object args[] = new Object[2];
args[0] = url;
if (info != null) {
args[1] = info.getProperty("encoding");
}
if (args[1] == null) {
args[1] = java.lang.System.getProperty("SQLite.encoding");
}
try {
conn = (Connection) makeConn.newInstance(args);
} catch (java.lang.reflect.InvocationTargetException ie) {
throw new SQLException(ie.getTargetException().toString());
} catch (java.lang.Exception e) {
throw new SQLException(e.toString());
}
return conn;
|
public int | getMajorVersion()
return MAJORVERSION;
|
public int | getMinorVersion()
return MINORVERSION;
|
public java.sql.DriverPropertyInfo[] | getPropertyInfo(java.lang.String url, java.util.Properties info)
DriverPropertyInfo p[] = new DriverPropertyInfo[1];
DriverPropertyInfo pp = new DriverPropertyInfo("encoding", "");
p[0] = pp;
return p;
|
public boolean | jdbcCompliant()
return false;
|