net.ontopia.persistence.jdbcspy
Class SpyDriver

java.lang.Object
  extended by net.ontopia.persistence.jdbcspy.SpyDriver
All Implemented Interfaces:
Driver

public class SpyDriver
extends Object
implements Driver

INTERNAL:


Constructor Summary
SpyDriver()
           
 
Method Summary
 boolean acceptsURL(String url)
           
static void clearStats()
           
 Connection connect(String url, Properties info)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 DriverPropertyInfo[] getPropertyInfo(String url, Properties info)
           
protected  String getRealURL(String url)
           
 boolean jdbcCompliant()
           
static void writeReport(String filename)
           
static void writeReport(Writer out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpyDriver

public SpyDriver()
Method Detail

getMajorVersion

public int getMajorVersion()
Specified by:
getMajorVersion in interface Driver

getMinorVersion

public int getMinorVersion()
Specified by:
getMinorVersion in interface Driver

jdbcCompliant

public boolean jdbcCompliant()
Specified by:
jdbcCompliant in interface Driver

acceptsURL

public boolean acceptsURL(String url)
                   throws SQLException
Specified by:
acceptsURL in interface Driver
Throws:
SQLException

connect

public Connection connect(String url,
                          Properties info)
                   throws SQLException
Specified by:
connect in interface Driver
Throws:
SQLException

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String url,
                                            Properties info)
                                     throws SQLException
Specified by:
getPropertyInfo in interface Driver
Throws:
SQLException

getRealURL

protected String getRealURL(String url)

clearStats

public static void clearStats()

writeReport

public static void writeReport(String filename)
                        throws IOException
Throws:
IOException

writeReport

public static void writeReport(Writer out)
                        throws IOException
Throws:
IOException


Copyright © 2000-2012 Ontopia.