接口的使用
org.springframework.core.convert.support.ConfigurableConversionService
使用ConfigurableConversionService的程序包 程序包 说明 org.springframework.core.convert.support Default implementation of the type conversion system.org.springframework.core.env Spring's environment abstraction consisting of bean definition profile and hierarchical property source support.org.springframework.format.support Support classes for the formatting package, providing common implementations as well as adapters.org.springframework.core.convert.support中ConfigurableConversionService的使用
实现ConfigurableConversionService的org.springframework.core.convert.support中的类 修饰符和类型 类 说明 class
DefaultConversionService
A specialization ofGenericConversionService
configured by default with converters appropriate for most environments.class
GenericConversionService
BaseConversionService
implementation suitable for use in most environments.org.springframework.core.env中ConfigurableConversionService的使用
返回ConfigurableConversionService的org.springframework.core.env中的方法 修饰符和类型 方法 说明 ConfigurableConversionService
AbstractEnvironment. getConversionService()
ConfigurableConversionService
AbstractPropertyResolver. getConversionService()
ConfigurableConversionService
ConfigurablePropertyResolver. getConversionService()
Return theConfigurableConversionService
used when performing type conversions on properties.参数类型为ConfigurableConversionService的org.springframework.core.env中的方法 修饰符和类型 方法 说明 void
AbstractEnvironment. setConversionService(ConfigurableConversionService conversionService)
void
AbstractPropertyResolver. setConversionService(ConfigurableConversionService conversionService)
void
ConfigurablePropertyResolver. setConversionService(ConfigurableConversionService conversionService)
Set theConfigurableConversionService
to be used when performing type conversions on properties.org.springframework.format.support中ConfigurableConversionService的使用
实现ConfigurableConversionService的org.springframework.format.support中的类 修饰符和类型 类 说明 class
DefaultFormattingConversionService
A specialization ofFormattingConversionService
configured by default with converters and formatters appropriate for most applications.class
FormattingConversionService
AConversionService
implementation designed to be configured as aFormatterRegistry
.