Interface ArgumentHandler

All Known Implementing Classes:
URLArgumentHandler

public interface ArgumentHandler
Interface specifying the requirements for objects wiching to be able to examine arguments (potentially tweaking parameters) at the time of parsing, thereby allowing for usage display to occur automatically.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handleArgument(Argument arg, String form, String[] params)
    Process the argument values specified.
  • Method Details

    • handleArgument

      void handleArgument(Argument arg, String form, String[] params) throws UsageException
      Process the argument values specified.
      Parameters:
      arg - argument definition
      form - form which was used on the command line
      params - parameters supplied to the argument
      Throws:
      UsageException - when usage was suboptimal