|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.core.convert.support.ConversionServiceFactory
public abstract class ConversionServiceFactory
A factory for common ConversionService
configurations.
Constructor Summary | |
---|---|
ConversionServiceFactory()
|
Method Summary | |
---|---|
static void |
addDefaultConverters(GenericConversionService conversionService)
Populate the given ConversionService instance with all applicable default converters. |
static GenericConversionService |
createDefaultConversionService()
Create a new default ConversionService instance that can be safely modified. |
static void |
registerConverters(Set<?> converters,
ConverterRegistry registry)
Register the given converter objects with the given target registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConversionServiceFactory()
Method Detail |
---|
public static GenericConversionService createDefaultConversionService()
public static void addDefaultConverters(GenericConversionService conversionService)
public static void registerConverters(Set<?> converters, ConverterRegistry registry)
converters
- the converter objects: implementing Converter
,
ConverterFactory
, or GenericConverter
registry
- the target registry to register with
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |