Home / Function/ addFormatters() — spring-boot Function Reference

addFormatters() — spring-boot Function Reference

Architecture documentation for the addFormatters() function in WebConversionService.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  35f784f5_1253_168a_55d9_e9523b31329e["addFormatters()"]
  9e264507_12ab_35bc_55ee_75f6143c4d0c["WebConversionService()"]
  9e264507_12ab_35bc_55ee_75f6143c4d0c -->|calls| 35f784f5_1253_168a_55d9_e9523b31329e
  6c250812_d492_7cc9_1188_93d2ef1f1152["registerJsr310()"]
  35f784f5_1253_168a_55d9_e9523b31329e -->|calls| 6c250812_d492_7cc9_1188_93d2ef1f1152
  87b377e7_e63c_8482_1298_1f6065bf2e99["registerJavaDate()"]
  35f784f5_1253_168a_55d9_e9523b31329e -->|calls| 87b377e7_e63c_8482_1298_1f6065bf2e99
  style 35f784f5_1253_168a_55d9_e9523b31329e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/format/WebConversionService.java lines 65–74

	private void addFormatters(DateTimeFormatters dateTimeFormatters) {
		addFormatterForFieldAnnotation(new NumberFormatAnnotationFormatterFactory());
		if (JSR_354_PRESENT) {
			addFormatter(new CurrencyUnitFormatter());
			addFormatter(new MonetaryAmountFormatter());
			addFormatterForFieldAnnotation(new Jsr354NumberFormatAnnotationFormatterFactory());
		}
		registerJsr310(dateTimeFormatters);
		registerJavaDate(dateTimeFormatters);
	}

Domain

Subdomains

Calls

  • registerJavaDate()
  • registerJsr310()

Called By

  • WebConversionService()

Frequently Asked Questions

What does addFormatters() do?
addFormatters() is a function in the spring-boot codebase.
What does addFormatters() call?
addFormatters() calls 2 function(s): registerJavaDate, registerJsr310.
What calls addFormatters()?
addFormatters() is called by 1 function(s): WebConversionService.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free