Module openj9.dtfj

Class ConsoleCommandReader

java.lang.Object
com.ibm.j9ddr.command.CommandReader
com.ibm.j9ddr.command.ConsoleCommandReader

public class ConsoleCommandReader extends CommandReader
  • Constructor Details

    • ConsoleCommandReader

      public ConsoleCommandReader(PrintStream out)
  • Method Details

    • setInputStream

      public void setInputStream(InputStream in)
      Description copied from class: CommandReader
      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.
      Specified by:
      setInputStream in class CommandReader
      Parameters:
      in - InputStream to read commands from
    • processInput

      public void processInput(DDRInteractive engine) throws Exception
      Description copied from class: CommandReader
      Execute next command, and execute it in DDRInteractive
      Specified by:
      processInput in class CommandReader
      Throws:
      Exception