Class CommandHandler

java.lang.Object
it.meucci.commands.CommandHandler

public class CommandHandler extends Object
CommandHandler describes how, in response to a user's input command, the program should behave.
  • Constructor Details

    • CommandHandler

      public CommandHandler()
  • Method Details

    • handle

      public static void handle(Command c)
      A function that calls the proper method for a command. For instance, the HELP command calls a method help() that displays the help menu.
      Parameters:
      c -
    • send

      public static void send(ArrayList<String> args)