|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fikin.sql.SQLPipeElement net.sf.fikin.sql.core.AbstractOutput net.sf.fikin.sql.core.AbstractEnabledOutput net.sf.fikin.sql.core.Echo
public class Echo
Echo the current sql command to the given print stream prior to execution.
created on Dec 16, 2006
Constructor Summary | |
---|---|
Echo(java.io.PrintStream out)
create an element by default echoing all sql commands |
|
Echo(java.io.PrintStream out,
boolean echoOn)
create an echoing sql commands pipe element |
|
Echo(java.io.PrintWriter out)
create an element by default echoing all sql commands |
|
Echo(java.io.PrintWriter out,
boolean echoOn)
create an echoing sql commands pipe element |
Method Summary | |
---|---|
void |
execute(java.lang.String cmd)
echo the sql command prior to execution |
Methods inherited from class net.sf.fikin.sql.core.AbstractEnabledOutput |
---|
getBaseClassName, getOutOn, setOutOn |
Methods inherited from class net.sf.fikin.sql.core.AbstractOutput |
---|
getOut, setOut, setOut, setOut, setOut, setOutFileName |
Methods inherited from class net.sf.fikin.sql.SQLPipeElement |
---|
getId, getNext, getPipe, setNext, setPipe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Echo(java.io.PrintWriter out)
public Echo(java.io.PrintStream out)
public Echo(java.io.PrintStream out, boolean echoOn)
public Echo(java.io.PrintWriter out, boolean echoOn)
Method Detail |
---|
public void execute(java.lang.String cmd) throws java.sql.SQLException
execute
in class SQLPipeElement
cmd
- to execute
java.sql.SQLException
- in case of error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |