com.synz.igor.parser
Class ResultSetParser

java.lang.Object
  |
  +--com.synz.igor.parser.ResultSetParser

public class ResultSetParser
extends java.lang.Object
implements IgorConstants

This class is responsible for parsing ResultSets.


Constructor Summary
ResultSetParser()
           
 
Method Summary
static void main(java.lang.String[] arg)
          Test Harness
static java.util.Hashtable parseRS(java.sql.ResultSet rs)
          Reads in the ResultSet and returns it as a Hashtable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetParser

public ResultSetParser()
Method Detail

parseRS

public static java.util.Hashtable parseRS(java.sql.ResultSet rs)
Reads in the ResultSet and returns it as a Hashtable. This method should be called for each row in the ResultSet. i.e. do while not db_rs.eof ResultSetParser rsp = new ResultSetParser(); rsp.parseRS(db_rs); next
Returns:
Hashtable - a Hashtable containing the column names and values of the ResultSet

main

public static void main(java.lang.String[] arg)
Test Harness