org.codehaus.plexus.component.configurator.converters.basic
Class FileConverter
java.lang.Object
org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
org.codehaus.plexus.component.configurator.converters.basic.AbstractBasicConverter
org.codehaus.plexus.component.configurator.converters.basic.FileConverter
- All Implemented Interfaces:
- ConfigurationConverter
public class FileConverter
- extends AbstractBasicConverter
- Author:
- Brett Porter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileConverter
public FileConverter()
canConvert
public boolean canConvert(Class type)
fromString
public Object fromString(String str)
- Specified by:
fromString in class AbstractBasicConverter
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- Overrides:
fromConfiguration in class AbstractBasicConverter
- 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
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.