Interface CommandParser

All Known Implementing Classes:
DefaultCommandParser

public interface CommandParser
Interface for parsing input for a Command. A command is always identified by a set of words like command subcommand1 subcommand2 and where the remaining part is expected to be a set of arguments and/or key/value pairs of options. The ParsedInput API holds the parsed result.
Since:
4.0.0
Author:
Janne Valkealahti, Piotr Olaszewski, Mahmoud Ben Hassine
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    parse(String input)
    Parse raw input into a ParsedInput.
  • Method Details

    • parse

      ParsedInput parse(String input)
      Parse raw input into a ParsedInput.
      Parameters:
      input - the raw input
      Returns:
      the parsed input
      Since:
      4.0.0