类 StringToPropertiesConverter

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

final class StringToPropertiesConverter extends Object implements Converter<String,Properties>
Converts a String to a Properties by calling Properties#load(java.io.InputStream). Uses ISO-8559-1 encoding required by Properties.
从以下版本开始:
3.0
作者:
Keith Donald
  • 构造器详细资料

    • StringToPropertiesConverter

      StringToPropertiesConverter()
  • 方法详细资料

    • convert

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