All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oplan.util.CommandLoop

java.lang.Object
   |
   +----oplan.util.CommandLoop

public class CommandLoop
extends Object
implements Runnable

Variable Index

 o commandTable
 o exit
 o in
 o out
 o prompt

Constructor Index

 o CommandLoop(Function1)
 o CommandLoop(MatchTable)

Method Index

 o ask(String)
 o run()
 o setExitCommand(String)
 o setPrompt(String)

Variables

 o commandTable
 MatchTable commandTable
 o prompt
 String prompt
 o exit
 String exit
 o in
 BufferedReader in
 o out
 PrintStream out

Constructors

 o CommandLoop
 public CommandLoop(MatchTable commandTable)
 o CommandLoop
 public CommandLoop(Function1 eval)

Methods

 o setPrompt
 public void setPrompt(String prompt)
 o setExitCommand
 public void setExitCommand(String exit)
 o run
 public void run()
 o ask
 protected String ask(String prompt) throws IOException

All Packages  Class Hierarchy  This Package  Previous  Next  Index