Interface OneArgParam

All Superinterfaces:
Param
All Known Implementing Classes:
BasicOneArgParam, BoundedIntParam, ClampedIntParam, DoubleParam, ExistingDirectoryParam, ExistingFileParam, IntListParam, IntParam, StringParam

public non-sealed interface OneArgParam extends Param
An interface for parameters that take an argument from the command line.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(String param, String argument)
    Process an parameter with its argument.

    Methods inherited from interface org.rwtodd.args.Param

    addHelp, addToMap
  • Method Details

    • process

      void process(String param, String argument) throws ArgParserException
      Process an parameter with its argument.
      Parameters:
      param - the name of the parameter, as it was found in the command-line.
      argument - the given argument to the parameter.
      Throws:
      ArgParserException - if there is a problem parsing the argument.