JML

java.sql
Interface Driver


public interface Driver


Class Specifications

Specifications inherited from class Object
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT;
public represents _getClass <- \typeof(this);

Method Summary
 boolean acceptsURL(non_null String url)
           
 Connection connect(non_null String url, non_null Properties info)
           
 int getMajorVersion()
           
 int getMinorVersion()
           
 DriverPropertyInfo[] getPropertyInfo(non_null String url, non_null Properties info)
           
 boolean jdbcCompliant()
           
 

Method Detail

getMajorVersion

public int getMajorVersion()

getMinorVersion

public int getMinorVersion()

jdbcCompliant

public boolean jdbcCompliant()

acceptsURL

public boolean acceptsURL(non_null String url)
                            throws SQLException
Throws:
SQLException

connect

public Connection connect(non_null String url,
                          non_null Properties info)
                            throws SQLException
Throws:
SQLException
Specifications: nullable

getPropertyInfo

public DriverPropertyInfo[] getPropertyInfo(non_null String url,
                                            non_null Properties info)
                                              throws SQLException
Throws:
SQLException
Specifications: non_null

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.