Interface Converters

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canConvert​(java.lang.reflect.Type type)
      Returns true if a converters is available to convert to the given object type
      java.lang.Object convert​(java.lang.String value, java.lang.reflect.Type type)
      Converts a particular string value into the target type
    • Method Detail

      • canConvert

        boolean canConvert​(java.lang.reflect.Type type)
        Returns true if a converters is available to convert to the given object type
        Parameters:
        type - the object Type to convert to
        Returns:
        true if the type can be converted to
      • convert

        java.lang.Object convert​(java.lang.String value,
                                 java.lang.reflect.Type type)
        Converts a particular string value into the target type
        Parameters:
        value - the String value to convert
        type - the object Type to convert to
        Returns:
        The converted Object instance