类 StringToLongConverter
- java.lang.Object
-
- org.apache.dubbo.common.convert.StringToLongConverter
-
- 所有已实现的接口:
Comparable<Prioritized>,Converter<String,Long>,StringConverter<Long>,Prioritized
public class StringToLongConverter extends Object implements StringConverter<Long>
- 从以下版本开始:
- 2.7.6
-
-
字段概要
-
从接口继承的字段 org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY
-
-
构造器概要
构造器 构造器 说明 StringToLongConverter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Longconvert(String source)Convert the source-typed value to the target-typed valueintgetPriority()Get the priority-
从接口继承的方法 org.apache.dubbo.common.convert.Converter
accept, getSourceType, getTargetType
-
从接口继承的方法 org.apache.dubbo.common.lang.Prioritized
compareTo
-
-
-
-
方法详细资料
-
convert
public Long convert(String source)
从接口复制的说明:ConverterConvert the source-typed value to the target-typed value
-
getPriority
public int getPriority()
从接口复制的说明:PrioritizedGet the priority- 指定者:
getPriority在接口中Prioritized- 返回:
- the default is
Prioritized.NORMAL_PRIORITY
-
-