public interface Converter<T>
Modifier and Type | Method and Description |
---|---|
T |
convert(String parameterValue)
Converts the specified string parameter
value to a given type. |
T convert(String parameterValue) throws ConversionException
value
to a given type. If the conversion is impossible,
a checked exception that contains the cause is thrown.parameterValue
- the string value to convert.ConversionException
- if an error occurred during the conversion.