org.codehaus.plexus.component.configurator.converters.composite

Class PropertiesConverter

Implemented Interfaces:
ConfigurationConverter

public class PropertiesConverter
extends AbstractConfigurationConverter

Converter for java.util.Properties.
Version:
$Id: PropertiesConverter.java 2634 2005-10-08 06:33:08Z brett $
Author:
Michal Maczka

Field Summary

Fields inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter

IMPLEMENTATION

Method Summary

private void
addEntry(Properties properties, String element, PlexusConfiguration property)
boolean
canConvert(Class type)
Object
fromConfiguration(ConverterLookup converterLookup, PlexusConfiguration configuration, Class type, Class baseType, ClassLoader classLoader, ExpressionEvaluator expressionEvaluator, ConfigurationListener listener)

Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter

fromConfiguration, fromExpression, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXML

Method Details

addEntry

private void addEntry(Properties properties,
                      String element,
                      PlexusConfiguration property)
            throws ComponentConfigurationException

canConvert

public boolean canConvert(Class type)
Specified by:
canConvert in interface ConfigurationConverter

fromConfiguration

public Object fromConfiguration(ConverterLookup converterLookup,
                                PlexusConfiguration configuration,
                                Class type,
                                Class baseType,
                                ClassLoader classLoader,
                                ExpressionEvaluator expressionEvaluator,
                                ConfigurationListener listener)
            throws ComponentConfigurationException
Specified by:
fromConfiguration in interface ConfigurationConverter