Class StringToPropertiesConverter
java.lang.Object
org.springframework.data.redis.connection.convert.StringToPropertiesConverter
- All Implemented Interfaces:
Converter<String, Properties>
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()
-
-
Method Details
-
convert
- Specified by:
convertin interfaceConverter<String, Properties>
-