public final class PropertiesConverter
extends java.lang.Object
PropertiesPersister from the
Spring Core, so a String in the correct format for a Spring property editor
is fine (key=value pairs separated by new lines).PropertiesPersister| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
propertiesToString(java.util.Properties propertiesToParse)
Convert Properties object to String.
|
static java.util.Properties |
stringToProperties(java.lang.String stringToParse)
Parse a String to a Properties object.
|
public static java.util.Properties stringToProperties(java.lang.String stringToParse)
stringToParse - String to parse.PropertiesPersisterpublic static java.lang.String propertiesToString(java.util.Properties propertiesToParse)
propertiesToParse - contains the properties be converted.