org.datamanager.simpleton
Class InterpreterSimpleton

java.lang.Object
  |
  +--org.datamanager.kernel.Simpleton
        |
        +--org.datamanager.simpleton.InterpreterSimpleton

public class InterpreterSimpleton
extends Simpleton

Provides a Java interpreter in a window.


Nested Class Summary
 
Nested classes inherited from class org.datamanager.kernel.Simpleton
Simpleton.Information, Simpleton.Priority
 
Field Summary
static String INTERPRETER_PROMPT
          Interpreter prompt.
 
Constructor Summary
InterpreterSimpleton()
           
 
Method Summary
 void interpret(String line)
           
 boolean isInterpreterInput(String line)
           
 void process()
          Performs the work of this Simpleton.
 void prompt()
           
 String stripPrompt(String line)
           
 
Methods inherited from class org.datamanager.kernel.Simpleton
clone, getInformation, getPriority, setInformation, setPriority, start
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERPRETER_PROMPT

public static final String INTERPRETER_PROMPT
Interpreter prompt.

See Also:
Constant Field Values
Constructor Detail

InterpreterSimpleton

public InterpreterSimpleton()
Method Detail

process

public void process()
Description copied from class: Simpleton
Performs the work of this Simpleton. Simpleton implementation must override this class.

Specified by:
process in class Simpleton

stripPrompt

public String stripPrompt(String line)

prompt

public void prompt()

interpret

public void interpret(String line)

isInterpreterInput

public boolean isInterpreterInput(String line)


See the Helium Website