net.didion.jwnl.dictionary.database
Class ConnectionManager

java.lang.Object
  extended by net.didion.jwnl.dictionary.database.ConnectionManager

public class ConnectionManager
extends java.lang.Object


Constructor Summary
ConnectionManager(java.lang.String driverClass, java.lang.String url, java.lang.String userName, java.lang.String password)
           
 
Method Summary
 java.sql.Connection getConnection()
           
 Query getQuery(java.lang.String sql)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionManager

public ConnectionManager(java.lang.String driverClass,
                         java.lang.String url,
                         java.lang.String userName,
                         java.lang.String password)
Method Detail

getQuery

public Query getQuery(java.lang.String sql)
               throws java.sql.SQLException,
                      JWNLException
Throws:
java.sql.SQLException
JWNLException

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException,
                                         JWNLException
Throws:
java.sql.SQLException
JWNLException