name.angoca.db2sa.cli.system
Class SystemInterfaceController
java.lang.Object
name.angoca.db2sa.cli.AbstractInterfaceController
name.angoca.db2sa.cli.system.SystemInterfaceController
public class SystemInterfaceController
- extends AbstractInterfaceController
This is the interface controller that manage the read and the printer. This
is just a draft, because the functionality is restricted and the interaction
with the user can't be the desired.
Control Version
- 0.0.1 Class creation.
- 0.1.0 Use of InterfaceCore.
- 0.1.1 Execution state.
- 0.1.2 enum.
- 0.1.3 Name of a state.
- 0.1.4 final.
- 1.0.0 Moved to version 1.
- Version:
- 1.0.0 2009-07-19
- Author:
- Andres Gomez Casanova (AngocA)
Method Summary |
void |
start()
Start to read commands from the user and process them. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemInterfaceController
public SystemInterfaceController(String prompt)
throws InputReaderException
- Constructor that creates a reader and a printer.
- Parameters:
prompt
- Prompt to show in each line of the console.
- Throws:
InputReaderException
- When there is a problem establishing the input or the output.
start
public final void start()
throws AbstractDB2SAException
- Start to read commands from the user and process them.
- Specified by:
start
in class AbstractInterfaceController
- Throws:
AbstractDB2SAException
- When there is a IO problem.
Andres Gomez Casanova (AngocA) 
This work is licensed under a Creative Commons Attribution 3.0 Unported License.