name.angoca.db2sa.cli.system
Class SystemInterfaceController

Package class diagram package SystemInterfaceController
java.lang.Object
  extended by name.angoca.db2sa.cli.AbstractInterfaceController
      extended by 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

Version:
1.0.0 2009-07-19
Author:
Andres Gomez Casanova (AngocA)

Constructor Summary
SystemInterfaceController(String prompt)
          Constructor that creates a reader and a printer.
 
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
 

Constructor Detail

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.
Method Detail

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) Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.