public class

DefaultConversionService

extends GenericConversionService
java.lang.Object
   ↳ org.springframework.core.convert.support.GenericConversionService
     ↳ org.springframework.core.convert.support.DefaultConversionService

Class Overview

A specialization of GenericConversionService configured by default with converters appropriate for most applications.

Designed for direct instantiation but also exposes the static addDefaultConverters(GenericConversionService) utility method for ad hoc use against any GenericConversionService instance.

Summary

Public Constructors
DefaultConversionService()
Create a new DefaultConversionService with the set of default converters.
Public Methods
static void addDefaultConverters(GenericConversionService conversionService)
Add converters appropriate for most environments.
[Expand]
Inherited Methods
From class org.springframework.core.convert.support.GenericConversionService
From class java.lang.Object
From interface org.springframework.core.convert.ConversionService
From interface org.springframework.core.convert.converter.ConverterRegistry

Public Constructors

public DefaultConversionService ()

Also: SpringCore

Create a new DefaultConversionService with the set of default converters.

Public Methods

public static void addDefaultConverters (GenericConversionService conversionService)

Also: SpringCore

Add converters appropriate for most environments.

Parameters
conversionService the service to register default formatters against