インターフェースの使用
org.springframework.format.FormatterRegistrar
パッケージ
説明
java.util.Date
プロパティのフォーマッタ。JDK 8 の JSR-310
java.time
パッケージとの統合。 フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。
org.springframework.format.datetime 内の FormatterRegistrar 使用
org.springframework.format.datetime.standard 内の FormatterRegistrar 使用
org.springframework.format.support 内の FormatterRegistrar 使用
修飾子と型メソッド説明void
FormattingConversionServiceFactoryBean.setFormatterRegistrars
(SetSE<FormatterRegistrar> formatterRegistrars) FormattingConversionServiceFactoryBean.setConverters(Set)
およびFormattingConversionServiceFactoryBean.setFormatters(Set)
を介して宣言的に追加されたものに加えて、コンバーターおよびフォーマッターを登録するために呼び出す FormatterRegistrars のセットを構成します。