org.codehaus.plexus.component.configurator.converters.composite
Class PropertiesConverter
java.lang.Object
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
org.codehaus.plexus.component.configurator.converters.composite.PropertiesConverter
- All Implemented Interfaces:
- ConfigurationConverter
public class PropertiesConverter
- extends AbstractConfigurationConverter
Converter for java.util.Properties
.
- Version:
- $Id: PropertiesConverter.java 6054 2007-03-11 01:43:15Z jvanzyl $
- Author:
- Michal Maczka
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesConverter
public PropertiesConverter()
canConvert
public boolean canConvert(Class type)
fromConfiguration
public Object fromConfiguration(ConverterLookup converterLookup,
PlexusConfiguration configuration,
Class type,
Class baseType,
ClassLoader classLoader,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener)
throws ComponentConfigurationException
- Parameters:
converterLookup
- Repository of available converterstype
- the type of object to readbaseType
- the type of object the the source isclassLoader
- ClassLoader which should be used for loading classesexpressionEvaluator
- the expression evaluator to use for expressions
- Returns:
- the object
- Throws:
ComponentConfigurationException