public class DeploymentPropertiesFormat
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
convert(java.util.Properties properties)
Convert a Properties to a Map with String keys and values.
|
static java.lang.String |
formatDeploymentProperties(java.util.Map<java.lang.String,java.lang.String> properties)
Returns a String representation of deployment properties as a comma separated list of key=value pairs.
|
static java.util.Map<java.lang.String,java.lang.String> |
parseDeploymentProperties(java.lang.String s)
Parses a String comprised of 0 or more comma-delimited key=value pairs where
each key has the format:
module.[modulename].[key] . |
public static java.util.Map<java.lang.String,java.lang.String> parseDeploymentProperties(java.lang.String s)
module.[modulename].[key]
.
Values may themselves contain commas, since the split points will be based upon the key pattern.s
- the string to parsepublic static java.lang.String formatDeploymentProperties(java.util.Map<java.lang.String,java.lang.String> properties)
properties
- the properties to formatpublic static java.util.Map<java.lang.String,java.lang.String> convert(java.util.Properties properties)