类 PropertiesToStringConverter

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

final class PropertiesToStringConverter extends Object implements Converter<Properties,String>
Converts from a Properties to a String by calling Properties.store(java.io.OutputStream, String). Decodes with the ISO-8859-1 charset before returning the String.
从以下版本开始:
3.0
作者:
Keith Donald
  • 构造器详细资料

    • PropertiesToStringConverter

      PropertiesToStringConverter()
  • 方法详细资料

    • convert

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