com.darwinsys.sql
Class ResultsDecoratorJTable

java.lang.Object
  extended by com.darwinsys.sql.ResultsDecorator
      extended by com.darwinsys.sql.ResultsDecoratorJTable

public class ResultsDecoratorJTable
extends ResultsDecorator

Print ResultSet in HTML


Constructor Summary
ResultsDecoratorJTable(javax.swing.JTable table, java.io.PrintWriter out, Verbosity v)
           
 
Method Summary
 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 com.darwinsys.sql.ResultsDecorator
flush, print, println, println, printRowCount, setWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsDecoratorJTable

public ResultsDecoratorJTable(javax.swing.JTable table,
                              java.io.PrintWriter out,
                              Verbosity v)
Method Detail

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

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.