simpledb.remote
Class DriverAdapter
java.lang.Object
simpledb.remote.DriverAdapter
- All Implemented Interfaces:
- Driver
- Direct Known Subclasses:
- SimpleDriver
public abstract class DriverAdapter
- extends Object
- implements Driver
This class implements all of the methods of the Driver interface,
by throwing an exception for each one.
Subclasses (such as SimpleDriver) can override those methods that
it want to implement.
- Author:
- Edward Sciore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DriverAdapter
public DriverAdapter()
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
getMajorVersion
public int getMajorVersion()
- Specified by:
getMajorVersion in interface Driver
getMinorVersion
public int getMinorVersion()
- Specified by:
getMinorVersion in interface Driver
getPropertyInfo
public DriverPropertyInfo[] getPropertyInfo(String url,
Properties info)
- Specified by:
getPropertyInfo in interface Driver
jdbcCompliant
public boolean jdbcCompliant()
- Specified by:
jdbcCompliant in interface Driver
Copyright © 2011. All Rights Reserved.