Class CommandReader

java.lang.Object
com.ibm.j9ddr.command.CommandReader
Direct Known Subclasses:
ConsoleCommandReader

public abstract class CommandReader extends Object
  • Field Details

  • Constructor Details

    • CommandReader

      public CommandReader(PrintStream out)
  • Method Details

    • processInput

      public abstract void processInput(DDRInteractive engine) throws Exception
      Execute next command, and execute it in DDRInteractive
      Throws:
      Exception
    • setInputStream

      public abstract void setInputStream(InputStream in)
      Set the input stream on which commands will be read from. This may be ignored by the underlying implementation if this redirection is not supported.
      Parameters:
      in - InputStream to read commands from
    • processLine

      public void processLine(DDRInteractive engine, String line) throws Exception
      Throws:
      Exception