Top Description Constructors Methods
org.springframework.core.convert.support

public final Class ConversionServiceFactory

extends Object
Class Inheritance
Imports
java.util.Set, org.springframework.core.convert.converter.Converter, .ConverterFactory, .ConverterRegistry, .GenericConverter, org.springframework.lang.Nullable

A factory for common org.springframework.core.convert.ConversionService configurations.
Authors
Keith Donald, Juergen Hoeller, Chris Beams
Since
3.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
registerConverters(Set<?>
the converter objects: implementing Converter, ConverterFactory, or GenericConverter
converters
,
ConverterRegistry
the target registry
registry
)

Register the given Converter objects with the given target ConverterRegistry.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ConversionServiceFactoryback to summary
private ConversionServiceFactory()

Method Detail

registerConvertersback to summary
public static void registerConverters(Set<?> converters, ConverterRegistry registry)

Register the given Converter objects with the given target ConverterRegistry.

Parameters
converters:Set<?>

the converter objects: implementing Converter, ConverterFactory, or GenericConverter

registry:ConverterRegistry

the target registry