Interface StringToMultiValueConverter
- All Superinterfaces:
Comparable<Prioritized>,MultiValueConverter<String>,Prioritized
- All Known Implementing Classes:
StringToArrayConverter,StringToBlockingDequeConverter,StringToBlockingQueueConverter,StringToCollectionConverter,StringToDequeConverter,StringToIterableConverter,StringToListConverter,StringToNavigableSetConverter,StringToQueueConverter,StringToSetConverter,StringToSortedSetConverter,StringToTransferQueueConverter
The class to convert
String to multiple value object- Since:
- 2.7.6
- See Also:
-
Field Summary
Fields inherited from interface org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY -
Method Summary
Methods inherited from interface org.apache.dubbo.common.convert.multiple.MultiValueConverter
accept, getSourceTypeMethods inherited from interface org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
Method Details
-
convert
Description copied from interface:MultiValueConverterConvert the source to be the multiple value- Specified by:
convertin interfaceMultiValueConverter<String>- Parameters:
source- the source-typed valuemultiValueType- the multi-value typeelementType- the element type- Returns:
-
convert
Convert the segments to multiple value object- Parameters:
segments- the String array of contentsize- the size of multiple value objecttargetType- the target typeelementType- the element type- Returns:
- multiple value object
-