Class CommandExecutor

java.lang.Object
commandManager.CommandExecutor

public class CommandExecutor extends Object
Class for executing commands. Provides different inputs for command executing.
  • Constructor Details

    • CommandExecutor

      public CommandExecutor()
  • Method Details

    • startExecuting

      public void startExecuting(InputStream input, CommandMode mode)
      Start executing commands from InputStream.
      Parameters:
      input - commands stream (File, System.in, e.t.c.)
      mode - variant of command behavior (see CommandMode enum)