T - the element typeIStringConverter<java.util.List<T>>public class DefaultListConverter<T> extends java.lang.Object implements IStringConverter<java.util.List<T>>
| Constructor | Description |
|---|---|
DefaultListConverter(IParameterSplitter splitter,
IStringConverter<T> converter) |
Constructs a new converter.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<T> |
convert(java.lang.String value) |
public DefaultListConverter(IParameterSplitter splitter, IStringConverter<T> converter)
splitter - to split value into list of argumentsconverter - to convert list of arguments to target element typepublic java.util.List<T> convert(java.lang.String value)
convert in interface IStringConverter<T>