com.mockobjects.sql

Class MockDriver

public class MockDriver extends Object implements Driver

Field Summary
static MockDrivermyDriver
Method Summary
booleanacceptsURL(String url)
Connectionconnect(String url, Properties info)
intgetMajorVersion()
intgetMinorVersion()
DriverPropertyInfo[]getPropertyInfo(String url, Properties info)
booleanjdbcCompliant()
voidsetupConnect(Connection aConnection)

Field Detail

myDriver

public static MockDriver myDriver

Method Detail

acceptsURL

public boolean acceptsURL(String url)

connect

public Connection connect(String url, Properties info)

getMajorVersion

public int getMajorVersion()

getMinorVersion

public int getMinorVersion()

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(String url, Properties info)

jdbcCompliant

public boolean jdbcCompliant()

setupConnect

public void setupConnect(Connection aConnection)
Copyright © 2002 Mock Objects. All Rights Reserved.