open class FormattingConversionService : GenericConversionService, FormatterRegistry, EmbeddedValueResolverAware
A org.springframework.core.convert.ConversionService implementation designed to be configured as a FormatterRegistry.
Author
Keith Donald
Author
Juergen Hoeller
Since
3.0
FormattingConversionService()
A org.springframework.core.convert.ConversionService implementation designed to be configured as a FormatterRegistry. |
open fun addFormatter(formatter: Formatter<*>): Unit |
|
open fun addFormatterForFieldAnnotation(annotationFormatterFactory: AnnotationFormatterFactory<out Annotation>): Unit |
|
open fun addFormatterForFieldType(fieldType: Class<*>, formatter: Formatter<*>): Unitopen fun addFormatterForFieldType(fieldType: Class<*>, printer: Printer<*>, parser: Parser<*>): Unit |
|
open fun setEmbeddedValueResolver(resolver: StringValueResolver): Unit |
open class DefaultFormattingConversionService : FormattingConversionService
A specialization of FormattingConversionService configured by default with converters and formatters appropriate for most applications. Designed for direct instantiation but also exposes the static Automatically registers formatters for JSR-354 Money & Currency, JSR-310 Date-Time and/or Joda-Time, depending on the presence of the corresponding API on the classpath. |