Package | Description |
---|---|
io.vertx.core.cli | |
io.vertx.core.cli.converters |
Modifier and Type | Field and Description |
---|---|
protected Converter<T> |
TypedOption.converter
the converter to create the value.
|
protected Converter<T> |
TypedArgument.converter
The converter to use to create the value.
|
Modifier and Type | Method and Description |
---|---|
Converter<T> |
TypedOption.getConverter() |
Converter<T> |
TypedArgument.getConverter() |
Modifier and Type | Method and Description |
---|---|
TypedOption<T> |
TypedOption.setConverter(Converter<T> converter) |
TypedArgument<T> |
TypedArgument.setConverter(Converter<T> converter)
Sets the converter used to create the value.
|
Modifier and Type | Class and Description |
---|---|
class |
BooleanConverter
A converter for boolean.
|
class |
CharacterConverter
A converter for character.
|
class |
ConstructorBasedConverter<T>
This 'default' converter tries to create objects using a constructor taking a single String argument.
|
class |
FromBasedConverter<T>
This 'default' converter tries to create objects using a static 'from' method taking a single String argument.
|
class |
FromStringBasedConverter<T>
This 'default' converter tries to create objects using a static 'from' method taking a single String argument.
|
class |
ValueOfBasedConverter<T>
This 'default' converter tries to create objects using a static 'valueOf' method taking a single String argument.
|
Modifier and Type | Method and Description |
---|---|
static <T> Converter<T> |
Converters.newInstance(Class<? extends Converter<T>> type) |
Modifier and Type | Method and Description |
---|---|
static <T> T |
Converters.create(String value,
Converter<T> converter) |
Modifier and Type | Method and Description |
---|---|
static <T> Converter<T> |
Converters.newInstance(Class<? extends Converter<T>> type) |
Copyright © 2024 Eclipse. All rights reserved.