Class DB
DB.java
Copyright (C) 2000 Marc Boorshtein under the GNU General Public License offered
without warenty
Purpose: This class is used as a wrapper for JDBC to insure cross database
compatability.
DB(String) -
Constructor for class net.sourceforge.idrs.utils.DB
pre: fields is poulated
fieldname exists in fields
if no format, then it should be set to null
format must follow java.text.MessageFormat() specs
post: returns the data in fieldname with applied format
IDRSSecurity
Copyright (C) 2000 Marc Boorshtein under the GNU General Public License offered
without warenty
Used to verify that a user has access to a particuler document
Pre:out is a valid PrintStream, soucre contains either a filename for or the source of
an RML document , isFile says if source is a filename
Post:initializes as instance variables
Pre: setDBName() has been executed successfully
SQL is a valid SQL statement OR SQL is the name of a stored procedure
all parameters must be shown in SQL using the ? character
the vars and varTypes vectors must be filled for each parameter in SQL
the vars and varTypes must contain information acording to the order in which
the parametes apear in SQL
if there are no parameters, then vars and varTypes must be empty
Post: retrieves information based on SQL