接口 StringToMultiValueConverter
-
- 所有超级接口:
Comparable<Prioritized>,MultiValueConverter<String>,Prioritized
- 所有已知实现类:
StringToArrayConverter,StringToBlockingDequeConverter,StringToBlockingQueueConverter,StringToCollectionConverter,StringToDequeConverter,StringToIterableConverter,StringToListConverter,StringToNavigableSetConverter,StringToQueueConverter,StringToSetConverter,StringToSortedSetConverter,StringToTransferQueueConverter
public interface StringToMultiValueConverter extends MultiValueConverter<String>
The class to convertStringto multiple value object- 从以下版本开始:
- 2.7.6
- 另请参阅:
MultiValueConverter
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 Objectconvert(String[] segments, int size, Class<?> targetType, Class<?> elementType)Convert the segments to multiple value objectdefault Objectconvert(String source, Class<?> multiValueType, Class<?> elementType)Convert the source to be the multiple value-
从接口继承的方法 org.apache.dubbo.common.convert.multiple.MultiValueConverter
accept, getSourceType
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo, getPriority
-
-
-
-
方法详细资料
-
convert
default Object convert(String source, Class<?> multiValueType, Class<?> elementType)
从接口复制的说明:MultiValueConverterConvert the source to be the multiple value- 指定者:
convert在接口中MultiValueConverter<String>- 参数:
source- the source-typed valuemultiValueType- the multi-value typeelementType- the element type- 返回:
-
convert
Object convert(String[] segments, int size, Class<?> targetType, Class<?> elementType)
Convert the segments to multiple value object- 参数:
segments- the String array of contentsize- the size of multiple value objecttargetType- the target typeelementType- the element type- 返回:
- multiple value object
-
-