Class StringToStringConverter

java.lang.Object
org.apache.dubbo.common.convert.StringToStringConverter
All Implemented Interfaces:
Comparable<Prioritized>, Converter<String,String>, StringConverter<String>, Prioritized

public class StringToStringConverter extends Object implements StringConverter<String>
A class to covert String to String value, just no-op
Since:
2.7.6
  • Constructor Details

    • StringToStringConverter

      public StringToStringConverter()
  • Method Details

    • convert

      public String convert(String source)
      Description copied from interface: Converter
      Convert the source-typed value to the target-typed value
      Specified by:
      convert in interface Converter<String,String>
      Parameters:
      source - the source-typed value
      Returns:
      the target-typed value