Interface TypeConverter
-
public interface TypeConverterConverts constant string values to a different type.- Since:
- 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Objectconvert(java.lang.String value, TypeLiteral<?> toType)Converts a string value.
-
-
-
Method Detail
-
convert
java.lang.Object convert(java.lang.String value, TypeLiteral<?> toType)Converts a string value. Throws an exception if a conversion error occurs.
-
-