Class DelegateToRegisteredConverter

    • Constructor Detail

      • DelegateToRegisteredConverter

        public DelegateToRegisteredConverter()
    • Method Detail

      • convert

        public <T> T convert​(Class<T> type,
                             Object value,
                             Locale locale,
                             String pattern)
        Description copied from interface: IConverter
        Converts the specified input object into an output object of the specified type.
        Specified by:
        convert in interface IConverter
        Type Parameters:
        T - generics support for the data type specified.
        Parameters:
        type - data type to which the value should be converted.
        value - the input value to be converted.
        locale - locale to be used during conversion, if necessary.
        pattern - converter specific conversion pattern, to be used during conversion, if necessary.
      • convert

        public <T> T convert​(Class<T> type,
                             Object value,
                             Locale locale)
        Description copied from interface: IConverter
        Converts the specified input object into an output object of the specified type.
        Specified by:
        convert in interface IConverter
        Type Parameters:
        T - generics support for the data type specified.
        Parameters:
        type - data type to which the value should be converted.
        value - the input value to be converted.
        locale - locale to be used during conversion
      • convert

        public <T> T convert​(Class<T> type,
                             Object value)
        Description copied from interface: IConverter
        Converts the specified input object into an output object of the specified type.
        Specified by:
        convert in interface IConverter
        Type Parameters:
        T - generics support for the data type specified.
        Parameters:
        type - data type to which the value should be converted.
        value - the input value to be converted.