类 StringToCharsetConverter

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

class StringToCharsetConverter extends Object implements Converter<String,Charset>
Convert a String to a Charset.
从以下版本开始:
4.0
作者:
Stephane Nicoll
  • 构造器详细资料

    • StringToCharsetConverter

      StringToCharsetConverter()
  • 方法详细资料

    • convert

      public Charset convert(String source)
      从接口复制的说明: Converter
      Convert the source object of type S to target type T.
      指定者:
      convert 在接口中 Converter<String,Charset>
      参数:
      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)