Package org.apache.dubbo.common.convert
Class StringToCharacterConverter
java.lang.Object
org.apache.dubbo.common.convert.StringToCharacterConverter
- All Implemented Interfaces:
Comparable<Prioritized>,Converter<String,,Character> StringConverter<Character>,Prioritized
- Since:
- 2.7.6
-
Field Summary
Fields inherited from interface org.apache.dubbo.common.lang.Prioritized
COMPARATOR, MAX_PRIORITY, MIN_PRIORITY, NORMAL_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionConvert the source-typed value to the target-typed valueintGet the priorityMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.dubbo.common.convert.Converter
accept, getSourceType, getTargetTypeMethods inherited from interface org.apache.dubbo.common.lang.Prioritized
compareTo
-
Constructor Details
-
StringToCharacterConverter
public StringToCharacterConverter()
-
-
Method Details
-
convert
Description copied from interface:ConverterConvert the source-typed value to the target-typed value -
getPriority
public int getPriority()Description copied from interface:PrioritizedGet the priority- Specified by:
getPriorityin interfacePrioritized- Returns:
- the default is
Prioritized.NORMAL_PRIORITY
-