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

fromString

fun fromString(input: String): T

Converts the given input to an object by using the constructor approach. Notice that the constructor must expect receiving 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