Interface StringConverter<TDest>

Type Parameters:
TDest - the generic type

public interface StringConverter<TDest>
The interface StringConverter represents a converter from a string to another type.
Since:
3.0
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(String value)
    Converts the specified value to the type TDest.
  • Method Details

    • convert

      TDest convert(String value) throws ConvertException
      Converts the specified value to the type TDest.
      Parameters:
      value - the value to convert
      Returns:
      the destination type
      Throws:
      ConvertException - occurs when the value cannot be converted to the type TDest