public interface StringToMultiValueConverter extends MultiValueConverter<String>
String to multiple value objectMultiValueConverterCOMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY| Modifier and Type | Method and Description |
|---|---|
Object |
convert(String[] segments,
int size,
Class<?> targetType,
Class<?> elementType)
Convert the segments to multiple value object
|
default Object |
convert(String source,
Class<?> multiValueType,
Class<?> elementType)
Convert the source to be the multiple value
|
accept, getSourceTypecompareTo, getPrioritydefault Object convert(String source, Class<?> multiValueType, Class<?> elementType)
MultiValueConverterconvert in interface MultiValueConverter<String>source - the source-typed valuemultiValueType - the multi-value typeelementType - the element typeObject convert(String[] segments, int size, Class<?> targetType, Class<?> elementType)
segments - the String array of contentsize - the size of multiple value objecttargetType - the target typeelementType - the element typeCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.