org.mule.config.converters
Class PropertiesConverter
java.lang.Object
org.mule.config.converters.PropertiesConverter
- All Implemented Interfaces:
- PropertyConverter
public class PropertiesConverter
- extends java.lang.Object
- implements PropertyConverter
Converts a comma-separated list of key/value pairs, e.g.,
"apple=green, banana=yellow"
into a Properties
map.
Property placeholders can be used in these values:
"apple=${apple.color}, banana=yellow"
Field Summary |
static java.lang.String |
DELIM
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIM
public static final java.lang.String DELIM
- See Also:
- Constant Field Values
PropertiesConverter
public PropertiesConverter()
convert
public java.lang.Object convert(java.lang.String properties,
MuleContext context)
- Specified by:
convert
in interface PropertyConverter
getType
public java.lang.Class getType()
- Specified by:
getType
in interface PropertyConverter
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.