org.mule.config.converters
Class PropertiesConverter

java.lang.Object
  extended by 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"


Field Summary
static String DELIM
           
 
Constructor Summary
PropertiesConverter()
           
 
Method Summary
 Object convert(String properties, MuleContext context)
           
 Class getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIM

public static final String DELIM
See Also:
Constant Field Values
Constructor Detail

PropertiesConverter

public PropertiesConverter()
Method Detail

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-2014 MuleSoft, Inc.. All Rights Reserved.