|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jamonapi.proxy.JAMonDriver
public class JAMonDriver
This class will be a proxy for the underlying jdbc driver.
| Constructor Summary | |
|---|---|
JAMonDriver()
|
|
| Method Summary | |
|---|---|
boolean |
acceptsURL(java.lang.String url)
Returns true if this driver can respond to the url |
java.sql.Connection |
connect(java.lang.String url,
java.util.Properties info)
(non-Javadoc) |
int |
getMajorVersion()
|
int |
getMinorVersion()
|
java.sql.DriverPropertyInfo[] |
getPropertyInfo(java.lang.String url,
java.util.Properties info)
Returns this drivers properties. |
static java.lang.String |
getRealDriverName(java.lang.String url)
Takes a url of the jamon format: jdbc:jamon:sybase:Tds:myserver:1234/mydatabase? |
static java.lang.String |
getRealURL(java.lang.String url)
Takes a url of the jamon format: jdbc:jamon:sybase:Tds:myserver:1234/mydatabase? |
boolean |
jdbcCompliant()
|
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JAMonDriver()
| Method Detail |
|---|
public java.sql.Connection connect(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
connect in interface java.sql.Driverjava.sql.SQLExceptionDriver.connect(java.lang.String, java.util.Properties)
public boolean acceptsURL(java.lang.String url)
throws java.sql.SQLException
acceptsURL in interface java.sql.Driverjava.sql.SQLException
public java.sql.DriverPropertyInfo[] getPropertyInfo(java.lang.String url,
java.util.Properties info)
throws java.sql.SQLException
getPropertyInfo in interface java.sql.Driverjava.sql.SQLExceptionpublic int getMajorVersion()
getMajorVersion in interface java.sql.Driverpublic int getMinorVersion()
getMinorVersion in interface java.sql.Driverpublic boolean jdbcCompliant()
jdbcCompliant in interface java.sql.Driverpublic static java.lang.String getRealDriverName(java.lang.String url)
public static java.lang.String getRealURL(java.lang.String url)
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||