インターフェースの使用 
org.springframework.format.FormatterRegistry
FormatterRegistry を使用するパッケージ 
 パッケージ 
 説明 
UI での表示用にフィールドモデル値をフォーマットするフォーマッターを定義するための API。
java.util.Date プロパティのフォーマッタ。JDK 8 の JSR-310 
java.time パッケージとの統合。 フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。
WebTestClient を介した Spring WebFlux サーバーエンドポイントのテストのサポート。Spring WebFlux 構成インフラストラクチャ。
Spring MVC のアノテーションベースのセットアップ。
- org.springframework.format 内の FormatterRegistry 使用型 FormatterRegistry のパラメーターを持つ org.springframework.format のメソッド修飾子と型メソッド説明- voidFormatterRegistrar.- registerFormatters- (FormatterRegistry registry) FormatterRegistry SPI を介して FormattingConversionService にフォーマッターとコンバーターを登録します。
- org.springframework.format.datetime 内の FormatterRegistry 使用型 FormatterRegistry のパラメーターを持つ org.springframework.format.datetime のメソッド
- org.springframework.format.datetime.standard 内の FormatterRegistry 使用型 FormatterRegistry のパラメーターを持つ org.springframework.format.datetime.standard のメソッド
- org.springframework.format.support 内の FormatterRegistry 使用FormatterRegistry を実装している org.springframework.format.support のクラス修飾子と型クラス説明- class- FormattingConversionServiceの特殊化。ほとんどのアプリケーションに適したコンバーターとフォーマッターでデフォルトで構成されます。- class- FormatterRegistryとして構成されるように設計された- ConversionService実装。型 FormatterRegistry のパラメーターを持つ org.springframework.format.support のメソッド修飾子と型メソッド説明- static voidDefaultFormattingConversionService.- addDefaultFormatters- (FormatterRegistry formatterRegistry) クラスパス上の対応する API の存在に応じて、数値フォーマッター、JSR-354 Money&Currency フォーマッター、JSR-310 Date-Time および / または Joda-Time フォーマッターを含む、ほとんどの環境に適したフォーマッターを追加します。
- org.springframework.test.web.reactive.server 内の FormatterRegistry 使用型 FormatterRegistry の型引数を持つ org.springframework.test.web.reactive.server のメソッドパラメーター修飾子と型メソッド説明WebTestClient.ControllerSpec.- formatters- (ConsumerSE<FormatterRegistry> consumer) 型変換に使用するフォーマッターとコンバーターを登録します。
- org.springframework.web.reactive.config 内の FormatterRegistry 使用型 FormatterRegistry のパラメーターを持つ org.springframework.web.reactive.config のメソッド修飾子と型メソッド説明- protected voidDelegatingWebFluxConfiguration.- addFormatters- (FormatterRegistry registry) - protected voidWebFluxConfigurationSupport.- addFormatters- (FormatterRegistry registry) - default voidWebFluxConfigurer.- addFormatters- (FormatterRegistry registry) アノテーション付きコントローラーメソッドの引数の型変換とフォーマットを実行するためのカスタム- Convertersおよび- Formattersを追加します。- voidWebFluxConfigurerComposite.- addFormatters- (FormatterRegistry registry) 
- org.springframework.web.servlet.config.annotation 内の FormatterRegistry 使用型 FormatterRegistry のパラメーターを持つ org.springframework.web.servlet.config.annotation のメソッド修飾子と型メソッド説明- protected voidDelegatingWebMvcConfiguration.- addFormatters- (FormatterRegistry registry) - protected voidWebMvcConfigurationSupport.- addFormatters- (FormatterRegistry registry) - default voidWebMvcConfigurer.- addFormatters- (FormatterRegistry registry) デフォルトで登録されているものに加えて、- Convertersおよび- Formattersを追加します。