|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectname.angoca.db2sa.core.executer.Executer
public final class Executer
This is the implementation of the executer. TODO validar que la ejecución de
DB2 se puede hacer desde una misma clase en varias plataformas, o si es
necesario validar esto.
Control Version
Method Summary | |
---|---|
ExecutionState |
execute(String command,
OutputWriter writer)
Executes the given command and returns a code that means the execution state. |
static Executer |
getInstance()
Implementation of Singleton pattern, returns the sole instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Executer getInstance()
public ExecutionState execute(String command, OutputWriter writer) throws OutputWriterException
command
- Command to execute.writer
- The output's writer.
OutputWriterException
- If there is a problem when writing.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |