Class ConverterAdapter<S,​T>

  • Type Parameters:
    S - The source type.
    T - The target type.
    All Implemented Interfaces:
    Converter<S,​T>, Function<S,​T>

    public final class ConverterAdapter<S,​T>
    extends AbstractConverter<S,​T>
    Class used to create a typed converter from a raw converter.
    Author:
    Damien Carbonne
    • Constructor Detail

      • ConverterAdapter

        public ConverterAdapter​(Class<S> sourceClass,
                                Class<T> targetClass,
                                Converter<?,​?> delegate)
    • Method Detail

      • apply

        public T apply​(S source)
      • getParams

        public Args getParams()
        Returns:
        The parameters used to configure this converter.
      • getDelegate

        public Converter<?,​?> getDelegate()