public class FileConverter extends AbstractBasicConverter
Constructor and Description |
---|
FileConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(Class type) |
Object |
fromConfiguration(ConverterLookup converterLookup,
PlexusConfiguration configuration,
Class type,
Class baseType,
ClassLoader classLoader,
ExpressionEvaluator expressionEvaluator,
ConfigurationListener listener) |
Object |
fromString(String str) |
fromExpression
failIfNotTypeCompatible, fromConfiguration, fromExpression, fromXML, getClassForImplementationHint, instantiateObject, instantiateObject, loadClass, toXML
public boolean canConvert(Class type)
public Object fromString(String str)
fromString
in class AbstractBasicConverter
public Object fromConfiguration(ConverterLookup converterLookup, PlexusConfiguration configuration, Class type, Class baseType, ClassLoader classLoader, ExpressionEvaluator expressionEvaluator, ConfigurationListener listener) throws ComponentConfigurationException
fromConfiguration
in interface ConfigurationConverter
fromConfiguration
in class AbstractBasicConverter
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 expressionsComponentConfigurationException
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.