browser
Class Console

java.lang.Object
  extended by browser.Console
Direct Known Subclasses:
SQLBrowser

public abstract class Console
extends java.lang.Object


Field Summary
protected  java.lang.String prompt
           
protected  java.io.PrintWriter stderr
           
protected  java.io.BufferedReader stdin
           
protected  java.io.PrintWriter stdout
           
 
Constructor Summary
Console()
           
 
Method Summary
protected  void about()
           
 void controlLoop()
           
protected abstract  java.lang.String execute(java.lang.String cmmd)
           
protected  boolean handle(AppError exp)
           
protected  void help()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stdin

protected java.io.BufferedReader stdin

stdout

protected java.io.PrintWriter stdout

stderr

protected java.io.PrintWriter stderr

prompt

protected java.lang.String prompt
Constructor Detail

Console

public Console()
Method Detail

execute

protected abstract java.lang.String execute(java.lang.String cmmd)
                                     throws AppError
Throws:
AppError

controlLoop

public void controlLoop()

help

protected void help()

about

protected void about()

handle

protected boolean handle(AppError exp)