Package io.github.qishr.cascara.common.util
Class UseDefaultConverter
java.lang.Object
io.github.qishr.cascara.common.util.CommandLine.UseDefaultConverter
All Implemented Interfaces:
ITypeConverter<Object>
Enclosing Class:
io.github.qishr.cascara.common.util.CommandLine
public static final class UseDefaultConverter
Converter that can be used to signal to picocli that it should use the default converter.This can be useful with maps:
class App { Option(names = "-D", converter = {UseDefaultConverter.class, GenericValueConverter.class}) MapString, GenericValue? values; }
The convert method of this class always throws an UnsupportedOperationException.
Constructor Summary
| Constructor | Description |
|---|---|
| UseDefaultConverter() |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public Object | convert(String value) | Always throws UnsupportedOperationException. |
Method Details
convert
public Object convert(String value)
Always throws UnsupportedOperationException.
Throws:
Specified By: