Interface CommandLine.ITypeConverter<K>

Enclosing class:
CommandLine

public static interface CommandLine.ITypeConverter<K>

Converts the text of an argument to a type the build does not know.

An implementation needs a public no-argument constructor.

  • Method Summary

    Modifier and Type
    Method
    Description
    convert(String value)
    Converts value; any exception reports an invalid value.
  • Method Details

    • convert

      K convert(String value) throws Exception
      Converts value; any exception reports an invalid value.
      Throws:
      Exception