jrun.sql
Class SQLResult
java.lang.Object
|
+--jrun.sql.SQLResult
- public class SQLResult
- extends java.lang.Object
SQLResult is a simplified means of keeping track of
results returned from SQL queries. It encapsulates
the Hashtable array returned from a query made by SQLUtil.
- Author:
- PS Neville
|
Field Summary |
protected java.util.Hashtable[] |
records
|
|
Constructor Summary |
SQLResult(java.util.Hashtable[] h)
Build a SQLResult object from an array of Hashtables
returned from a SQLUtil query. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
records
protected java.util.Hashtable[] records
SQLResult
public SQLResult(java.util.Hashtable[] h)
- Build a SQLResult object from an array of Hashtables
returned from a SQLUtil query.
hasNext
public boolean hasNext()
next
public java.util.Hashtable next()
size
public int size()
getObject
public java.lang.Object getObject(java.lang.String name)
getString
public java.lang.String getString(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toHtml
public java.lang.String toHtml()
Copyright � 2002 Macromedia Corporation. All Rights Reserved.