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
- Direct Known Subclasses:
PathConverter
public class FileConverter extends AbstractBasicConverter
-
-
Constructor Summary
Constructors Constructor Description FileConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canConvert(Class<?> type)
Object
fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener)
Object
fromString(String value)
-
Methods inherited from class org.codehaus.plexus.component.configurator.converters.basic.AbstractBasicConverter
fromExpression, fromString
-
Methods inherited from class org.codehaus.plexus.component.configurator.converters.AbstractConfigurationConverter
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromXML, getClassForImplementationHint, instantiateObject
-
-
-
-
Method Detail
-
canConvert
public boolean canConvert(Class<?> type)
-
fromString
public Object fromString(String value) throws ComponentConfigurationException
- Overrides:
fromString
in classAbstractBasicConverter
- Throws:
ComponentConfigurationException
-
fromConfiguration
public Object fromConfiguration(ConverterLookup lookup, PlexusConfiguration configuration, Class<?> type, Class<?> enclosingType, ClassLoader loader, ExpressionEvaluator evaluator, ConfigurationListener listener) throws ComponentConfigurationException
- Specified by:
fromConfiguration
in interfaceConfigurationConverter
- Overrides:
fromConfiguration
in classAbstractBasicConverter
- Throws:
ComponentConfigurationException
-
-