类 StringToCharacterConverter

java.lang.Object
cn.taketoday.core.conversion.support.StringToCharacterConverter
所有已实现的接口:
Converter<String,Character>

final class StringToCharacterConverter extends Object implements Converter<String,Character>
Converts a String to a Character.
从以下版本开始:
3.0
作者:
Keith Donald
  • 构造器详细资料

    • StringToCharacterConverter

      StringToCharacterConverter()
  • 方法详细资料

    • convert

      @Nullable public Character convert(String source)
      从接口复制的说明: Converter
      Convert the source object of type S to target type T.
      指定者:
      convert 在接口中 Converter<String,Character>
      参数:
      source - the source object to convert, which must be an instance of S (never null)
      返回:
      the converted object, which must be an instance of T (potentially null)