Class ParameterConverters.StringConverter

All Implemented Interfaces:
ParameterConverters.ParameterConverter<String,String>
Enclosing class:
ParameterConverters

public static class ParameterConverters.StringConverter extends ParameterConverters.FromStringParameterConverter<String>
  • Constructor Details

    • StringConverter

      public StringConverter()
  • Method Details

    • convertValue

      public String convertValue(String value, Type type)
      Description copied from interface: ParameterConverters.ParameterConverter
      Convert the value from one type to another, for example from a boolean to a String.
      Parameters:
      value - the value to be converted
      type - the type descriptor that supplies extra information about the requested result type
      Returns:
      the converted value