sql
Class SQL

java.lang.Object
  extended by sql.SQL

public class SQL
extends java.lang.Object

The SQL class provides a single method getSQL() for getting the contents of .sql files in this package as strings.


Method Summary
static java.lang.String getSQL(java.lang.String nm)
          SQL.getSQL(nm) returns a String containing the SQL statement named nm in the sql package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSQL

public static java.lang.String getSQL(java.lang.String nm)
                               throws java.io.IOException
SQL.getSQL(nm) returns a String containing the SQL statement named nm in the sql package. The string may contain '?' characters for parametrized statements.

Parameters:
nm - name of the SQL file to get
Returns:
a string of SQL code
Throws:
java.io.IOException