Package commandManager
Class CommandExecutor
java.lang.Object
commandManager.CommandExecutor
Class for executing commands. Provides different inputs for command executing.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
startExecuting
(InputStream input, CommandMode mode) Start executing commands from InputStream.
-
Constructor Details
-
CommandExecutor
public CommandExecutor()
-
-
Method Details
-
startExecuting
Start executing commands from InputStream.- Parameters:
input
- commands stream (File, System.in, e.t.c.)mode
- variant of command behavior (see CommandMode enum)
-