|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.darwinsys.sql.ResultsDecorator
public abstract class ResultsDecorator
Base class for a series of ResultSet printers.
Method Summary | |
---|---|
void |
flush()
|
abstract java.lang.String |
getName()
Print the name of this Decorator's output format |
void |
print(java.lang.String lineSeg)
|
void |
println()
|
void |
println(java.lang.String line)
|
void |
printRowCount(int n)
|
void |
setWriter(java.io.PrintWriter out)
|
abstract 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 |
Method Detail |
---|
public abstract java.lang.String getName()
public abstract int write(java.sql.ResultSet rs) throws java.io.IOException, java.sql.SQLException
java.io.IOException
java.sql.SQLException
public void printRowCount(int n) throws java.io.IOException
java.io.IOException
public void println(java.lang.String line) throws java.io.IOException
java.io.IOException
public void println() throws java.io.IOException
java.io.IOException
public void print(java.lang.String lineSeg) throws java.io.IOException
java.io.IOException
public void flush()
public void setWriter(java.io.PrintWriter out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |