Interface BeanConverter

All Known Implementing Classes:
BeanMapperConverter, UnsupportedBeanConverter

public interface BeanConverter
Responsible for convert beans to another type.
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    convert(Object bean, Class<T> targetType)
    Convert the bean to another type.
  • Method Details

    • convert

      <T> T convert(Object bean, Class<T> targetType)
      Convert the bean to another type.
      Type Parameters:
      T - the target type
      Parameters:
      bean - the bean
      targetType - the target type
      Returns:
      the converted bean