Interface ITypeConverterProvider

All Known Implementing Classes:
TypeConverterProviderBestMatch, TypeConverterProviderExact, TypeConverterProviderFuzzy, TypeConverterProviderRuleBased
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ITypeConverterProvider
Find the correct type converter provider from a source class to a destination class.
Author:
Philip Helger
  • Method Details

    • getTypeConverter

      @Nullable ITypeConverter<Object,Object> getTypeConverter(@Nonnull Class<?> aSrcClass, @Nonnull Class<?> aDstClass)
      Find a type converter from the source class to the destination class.
      Parameters:
      aSrcClass - The source class. May not be null.
      aDstClass - The destination class. May not be null.
      Returns:
      null if no such type converter was found