net.didion.jwnl.dictionary.database
Class Query

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

public class Query
extends java.lang.Object


Constructor Summary
Query(java.lang.String sql, java.sql.Connection conn)
           
 
Method Summary
 void close()
           
 java.sql.ResultSet execute()
           
 java.sql.Connection getConnection()
           
 java.sql.ResultSet getResults()
           
 java.sql.PreparedStatement getStatement()
           
 boolean isExecuted()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query

public Query(java.lang.String sql,
             java.sql.Connection conn)
Method Detail

execute

public java.sql.ResultSet execute()
                           throws java.sql.SQLException
Throws:
java.sql.SQLException

isExecuted

public boolean isExecuted()

getConnection

public java.sql.Connection getConnection()

getStatement

public java.sql.PreparedStatement getStatement()
                                        throws java.sql.SQLException
Throws:
java.sql.SQLException

getResults

public java.sql.ResultSet getResults()

close

public void close()