butler.sql.util
Class MapProcessor

java.lang.Object
  extended by butler.sql.util.MapProcessor
All Implemented Interfaces:
RowProcessor

public class MapProcessor
extends java.lang.Object
implements RowProcessor

Creates a Map from one row of a ResultSet.

Author:
Fredrik Bertilsson

Constructor Summary
MapProcessor()
           
MapProcessor(boolean colNameUpperCase)
           
MapProcessor(boolean caseSensitive, boolean colNameUpperCase)
           
 
Method Summary
 java.lang.Object process(java.sql.ResultSet rs)
           
 void setUseColumnLabel(boolean flag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapProcessor

public MapProcessor()

MapProcessor

public MapProcessor(boolean colNameUpperCase)

MapProcessor

public MapProcessor(boolean caseSensitive,
                    boolean colNameUpperCase)
Method Detail

setUseColumnLabel

public void setUseColumnLabel(boolean flag)

process

public java.lang.Object process(java.sql.ResultSet rs)
                         throws java.lang.Exception
Specified by:
process in interface RowProcessor
Throws:
java.lang.Exception