Package io.vertx.core.cli.converters
Class Converters
- java.lang.Object
-
- io.vertx.core.cli.converters.Converters
-
public class Converters extends Object
Entry point to the converter system.- Author:
- Clement Escoffier
-
-
Constructor Summary
Constructors Constructor Description Converters()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
create(Class<T> type, String value)
static <T> T
create(String value, Converter<T> converter)
static <T> Converter<T>
newInstance(Class<? extends Converter<T>> type)
-
-
-
Method Detail
-
newInstance
public static <T> Converter<T> newInstance(Class<? extends Converter<T>> type) throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
-