public void handleCommand()

in command-line-debugger/src/main/java/org/apache/ant/debugger/DebugCommandSet.java [80:98]


	public void handleCommand(String command) {
		if (command == null || command.trim().length() == 0) {
			project.log("Invalid command. Use /? for more information.");
		}
		command = command.trim();
		if (command.equals("/?")) {
			printUsage();
			return;
		}

		String[] tokens = command.split(" ");
		DebugSupport selected = (DebugSupport) commandSupport.get(tokens[0]);
		if (selected != null) {
			selected.execute(project, tokens);
		} else {
			project.log("'" + command + "' not a recognized command.");
			printUsage();
		}
	}