Modifier and Type | Field and Description |
---|---|
protected Driver |
driver |
protected static SpyStats |
stats |
Constructor and Description |
---|
SpyDriver() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsURL(String url) |
static void |
clearStats() |
Connection |
connect(String url,
Properties info) |
int |
getMajorVersion() |
int |
getMinorVersion() |
Logger |
getParentLogger() |
DriverPropertyInfo[] |
getPropertyInfo(String url,
Properties info) |
protected String |
getRealURL(String url) |
boolean |
jdbcCompliant() |
static void |
unregister() |
static void |
writeReport(String filename) |
static void |
writeReport(Writer out) |
public int getMajorVersion()
getMajorVersion
in interface Driver
public int getMinorVersion()
getMinorVersion
in interface Driver
public boolean jdbcCompliant()
jdbcCompliant
in interface Driver
public boolean acceptsURL(String url) throws SQLException
acceptsURL
in interface Driver
SQLException
public Connection connect(String url, Properties info) throws SQLException
connect
in interface Driver
SQLException
public DriverPropertyInfo[] getPropertyInfo(String url, Properties info) throws SQLException
getPropertyInfo
in interface Driver
SQLException
public static void unregister()
public static void clearStats()
public static void writeReport(String filename) throws IOException
IOException
public static void writeReport(Writer out) throws IOException
IOException
public Logger getParentLogger() throws SQLFeatureNotSupportedException
getParentLogger
in interface Driver
SQLFeatureNotSupportedException