## 接口的使用
org.springframework.core.convert.ConversionService

- 使用ConversionService的程序包
  程序包 | 说明
  --- | ---
  org.springframework.core.convert.converter | SPI to implement Converters for the type conversion system.
  org.springframework.core.convert.support | Default implementation of the type conversion system.

- - ### org.springframework.core.convert.converter中ConversionService的使用

    参数类型为ConversionService的org.springframework.core.convert.converter中的构造器
    构造器和说明
    `ConvertingComparator(Comparator<T> comparator, ConversionService conversionService, Class<? extends T> targetType)` Create a new `ConvertingComparator` instance.

  - ### org.springframework.core.convert.support中ConversionService的使用

    org.springframework.core.convert.support中ConversionService的子接口
    限定符和类型 | 接口和说明
    --- | ---
    `interface` | `ConfigurableConversionService` Configuration interface to be implemented by most if not all `ConversionService` types.

    实现ConversionService的org.springframework.core.convert.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `DefaultConversionService` A specialization of `GenericConversionService` configured by default with converters appropriate for most environments.
    `class` | `GenericConversionService` Base `ConversionService` implementation suitable for use in most environments.

    返回ConversionService的org.springframework.core.convert.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static ConversionService` | DefaultConversionService.`getSharedInstance()` Return a shared default `ConversionService` instance, lazily building it once needed.

    参数类型为ConversionService的org.springframework.core.convert.support中的构造器
    构造器和说明
    `ConvertingPropertyEditorAdapter(ConversionService conversionService, TypeDescriptor targetDescriptor)` Create a new ConvertingPropertyEditorAdapter for a given `ConversionService` and the given target type.