Class StringToPropertiesConverter

java.lang.Object
org.springframework.data.redis.connection.convert.StringToPropertiesConverter
All Implemented Interfaces:
Converter<String, Properties>

@Deprecated(since="4.2", forRemoval=true) public class StringToPropertiesConverter extends Object implements Converter<String, Properties>
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.2, use Converters.toProperties(String) instead.
Converts Strings in Redis INFO / CLUSTER INFO key:value format to Properties. Unlike Properties.load(Reader), this converter does not interpret escape sequences so that e.g. Windows-style backslashes are preserved verbatim.
Author:
Jennifer Hickey, Christoph Strobl
  • Constructor Details

    • StringToPropertiesConverter

      public StringToPropertiesConverter()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details