Interface ParameterType<T>

    • Method Detail

      • getJavaClass

        Class<T> getJavaClass()
        Gets the Java class associated with this type.
        the Java class associated with this type.
      • getValue

        T getValue​(String val)
            throws ParameterFormatException
        Gets an initial or default value for a parameter of this type from the string. If the string is space separated list of values the first value will be used.
        val - a string representation of default value
        the default value of the string.
        ParameterFormatException - if string cannot be converted into an object of the appropriate type
      • getConverter

        StringConverter<T> getConverter()
        Gets a StringConverter that can be used to convert objects of this ParameterType to and from strings.
        a StringConverter for objects of this parameter type.