vertx / io.vertx.core.cli.converters / ValueOfBasedConverter / fromString

fromString

fun fromString(input: String): T

Converts the given input to an object by using the 'valueOf' method. Notice that the method may receive a null value.

Parameters

input - the input, can be null

Exceptions

IllegalArgumentException - if the instance of T cannot be created from the input.

Return
the instance of T