Package org.picocontainer.converters
Interface Converter<T>
-
- All Known Implementing Classes:
NewInstanceConverter
,UrlConverter
public interface Converter<T>
Interface for type converters.- Author:
- Paul Hammant, Michael Rimov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
convert(java.lang.String parameterValue)
Performs a conversion between the given parameter value and the target type.
-
-
-
Method Detail
-
convert
T convert(java.lang.String parameterValue)
Performs a conversion between the given parameter value and the target type.- Parameters:
parameterValue
- the string value to convert.- Returns:
- the resulting object.
-
-