类 StringToIterableConverter<T extends Iterable>
- java.lang.Object
-
- org.apache.dubbo.common.convert.multiple.StringToIterableConverter<T>
-
- 所有已实现的接口:
Comparable<Prioritized>,MultiValueConverter<String>,StringToMultiValueConverter,Prioritized
- 直接已知子类:
StringToBlockingDequeConverter,StringToBlockingQueueConverter,StringToCollectionConverter,StringToDequeConverter,StringToListConverter,StringToNavigableSetConverter,StringToQueueConverter,StringToSetConverter,StringToSortedSetConverter,StringToTransferQueueConverter
public abstract class StringToIterableConverter<T extends Iterable> extends Object implements StringToMultiValueConverter
- 从以下版本开始:
- 2.7.6
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 StringToIterableConverter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanaccept(Class<String> type, Class<?> multiValueType)Accept the source type and target type or notObjectconvert(String[] segments, int size, Class<?> multiValueType, Class<?> elementType)Convert the segments to multiple value objectintgetPriority()Get the priority-
从接口继承的方法 org.apache.dubbo.common.convert.multiple.MultiValueConverter
getSourceType
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo
-
从接口继承的方法 org.apache.dubbo.common.convert.multiple.StringToMultiValueConverter
convert
-
-
-
-
方法详细资料
-
accept
public boolean accept(Class<String> type, Class<?> multiValueType)
从接口复制的说明:MultiValueConverterAccept the source type and target type or not- 指定者:
accept在接口中MultiValueConverter<T extends Iterable>- 参数:
type- the source typemultiValueType- the multi-value type- 返回:
- if accepted, return
true, orfalse
-
convert
public final Object convert(String[] segments, int size, Class<?> multiValueType, Class<?> elementType)
从接口复制的说明:StringToMultiValueConverterConvert the segments to multiple value object- 指定者:
convert在接口中StringToMultiValueConverter- 参数:
segments- the String array of contentsize- the size of multiple value objectmultiValueType- the target typeelementType- the element type- 返回:
- multiple value object
-
getPriority
public final int getPriority()
从接口复制的说明:PrioritizedGet the priority- 指定者:
getPriority在接口中Prioritized- 返回:
- the default is
Prioritized.NORMAL_PRIORITY
-
-