public final class PropertiesConverter extends 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 String |
propertiesToString(Properties propertiesToParse)
Convert Properties object to String.
|
static Properties |
stringToProperties(String stringToParse)
Parse a String to a Properties object.
|
public static Properties stringToProperties(String stringToParse)
stringToParse - String to parse.PropertiesPersisterpublic static String propertiesToString(Properties propertiesToParse)
propertiesToParse - Copyright © 2014 Pivotal. All rights reserved.