org.mule.config.converters
Class PropertiesConverter
java.lang.Object
org.mule.config.converters.PropertiesConverter
- All Implemented Interfaces:
- PropertyConverter
public class PropertiesConverter
- extends 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"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DELIM
public static final String DELIM
- See Also:
- Constant Field Values
PropertiesConverter
public PropertiesConverter()
convert
public Object convert(String properties,
MuleContext context)
- Specified by:
convert in interface PropertyConverter
getType
public Class getType()
- Specified by:
getType in interface PropertyConverter
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.