name.angoca.db2sa.cli.jline
Class JlineInterfaceController

Package class diagram package JlineInterfaceController
java.lang.Object
  extended by name.angoca.db2sa.cli.AbstractInterfaceController
      extended by name.angoca.db2sa.cli.jline.JlineInterfaceController

public class JlineInterfaceController
extends AbstractInterfaceController

This is the interface controller that manage the read and the printer.
Control Version

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

Constructor Summary
JlineInterfaceController(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

JlineInterfaceController

public JlineInterfaceController(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.
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.