Interface TypeConverter


public interface TypeConverter
Converts constant string values to a different type.
Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(String value, TypeLiteral<?> toType)
    Converts a string value.
  • Method Details

    • convert

      Object convert(String value, TypeLiteral<?> toType)
      Converts a string value. Throws an exception if a conversion error occurs.