Class QasmTextUI.QasmCmdReader

java.lang.Object
  |
  +--edu.umbc.cs.daml4jess.TextCmdReader
        |
        +--QasmTextUI.QasmCmdReader
Enclosing class:
QasmTextUI

protected static class QasmTextUI.QasmCmdReader
extends TextCmdReader

Read & parse command line input into commands.


Field Summary
 
Fields inherited from class edu.umbc.cs.daml4jess.TextCmdReader
COMMENT_STARTER, DEFAULT_PROMPT, inputReader_, prompt_, QUIT_CMD
 
Constructor Summary
QasmTextUI.QasmCmdReader()
          Constructor, using System.in as the default command input stream.
QasmTextUI.QasmCmdReader(java.io.Reader reader)
          Constructor.
 
Method Summary
protected  java.lang.Object parseCommand(java.lang.String cmdString)
          Parse the stdin command input.
 
Methods inherited from class edu.umbc.cs.daml4jess.TextCmdReader
init, main, nextCmdObject, nextCmdString, prompt, setPrompt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QasmTextUI.QasmCmdReader

public QasmTextUI.QasmCmdReader()
                         throws java.io.IOException
Constructor, using System.in as the default command input stream.


QasmTextUI.QasmCmdReader

public QasmTextUI.QasmCmdReader(java.io.Reader reader)
                         throws java.io.IOException
Constructor. Use the given reader to read input commands.

Method Detail

parseCommand

protected java.lang.Object parseCommand(java.lang.String cmdString)
                                 throws ParseCmdException
Parse the stdin command input.

Overrides:
parseCommand in class TextCmdReader
ParseCmdException