StevenMHernandez / cmsc312-operating-system-simulator

CMSC 312: "Introduction to Operating Systems"
0 stars 1 forks source link

CommandInterface (parsing commands) #8

Closed StevenMHernandez closed 7 years ago

StevenMHernandez commented 8 years ago

We should add an additional method to this class that takes a string that the user inputs(ex proc 25), then parses the string for command and arguments, then sends the command to the correct method within the class.

If the command is not available, return a String that says command not found.

StevenMHernandez commented 8 years ago

Basically, when the user clicks enter, we will have a switch statement that determines which method of the CommandInterface to use