com.darwinsys.sql
Class ResultsDecoratorHTML
java.lang.Object
com.darwinsys.sql.ResultsDecorator
com.darwinsys.sql.ResultsDecoratorHTML
public class ResultsDecoratorHTML
- extends ResultsDecorator
Print ResultSet in HTML
|
Method Summary |
void |
displayTable(java.lang.String table,
java.sql.ResultSet rs)
Print the resultset as a table info |
java.lang.String |
getName()
Return a printable name for this decorator |
int |
write(java.sql.ResultSet rs)
Print the contents of a ResultSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultsDecoratorHTML
public ResultsDecoratorHTML(java.io.PrintWriter out,
Verbosity v)
write
public int write(java.sql.ResultSet rs)
throws java.io.IOException,
java.sql.SQLException
- Description copied from class:
ResultsDecorator
- Print the contents of a ResultSet
- Specified by:
write in class ResultsDecorator
- Throws:
java.io.IOException
java.sql.SQLException
displayTable
public void displayTable(java.lang.String table,
java.sql.ResultSet rs)
throws java.io.IOException,
java.sql.SQLException
- Description copied from class:
ResultsDecorator
- Print the resultset as a table info
- Specified by:
displayTable in class ResultsDecorator
- Throws:
java.io.IOException
java.sql.SQLException
getName
public java.lang.String getName()
- Return a printable name for this decorator
- Specified by:
getName in class ResultsDecorator
- See Also:
ResultsDecorator.getName()
Copyright © 1996-2004 Ian F. Darwin. See license.html for usage license.