org.springframework.format.support

Class DefaultFormattingConversionService

    • Method Detail

      • addDefaultFormatters

        public static void addDefaultFormatters(FormatterRegistry formatterRegistry)
        Add formatters appropriate for most environments: including number formatters, JSR-354 Money & Currency formatters, JSR-310 Date-Time and/or Joda-Time formatters, depending on the presence of the corresponding API on the classpath.
        Parameters:
        formatterRegistry - the service to register default formatters with