インターフェースの使用
org.springframework.core.convert.converter.ConverterRegistry
ConverterRegistry を使用するパッケージ
パッケージ
説明
型変換システムのデフォルト実装。
UI での表示用にフィールドモデル値をフォーマットするフォーマッターを定義するための API。
java.util.Date
プロパティのフォーマッタ。 フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。
org.springframework.core.convert.support 内の ConverterRegistry 使用
org.springframework.core.convert.support 内の ConverterRegistry サブインターフェース修飾子と型クラス説明class
ほとんどの環境に適したコンバーターでデフォルトで構成されたGenericConversionService
の特殊化。class
ほとんどの環境での使用に適したベースConversionService
実装。型 ConverterRegistry のパラメーターを持つ org.springframework.core.convert.support のメソッド修飾子と型メソッド説明static void
DefaultConversionService.addCollectionConverters
(ConverterRegistry converterRegistry) 一般的なコレクションコンバーターを追加します。static void
DefaultConversionService.addDefaultConverters
(ConverterRegistry converterRegistry) ほとんどの環境に適したコンバーターを追加します。static void
ConversionServiceFactory.registerConverters
(SetSE<?> converters, ConverterRegistry registry) 指定されたコンバーターオブジェクトを指定されたターゲット ConverterRegistry に登録します。org.springframework.format 内の ConverterRegistry 使用
org.springframework.format 内の ConverterRegistry サブインターフェースorg.springframework.format.datetime 内の ConverterRegistry 使用
型 ConverterRegistry のパラメーターを持つ org.springframework.format.datetime のメソッド修飾子と型メソッド説明static void
DateFormatterRegistrar.addDateConverters
(ConverterRegistry converterRegistry) 指定したレジストリに日付コンバーターを追加します。org.springframework.format.support 内の ConverterRegistry 使用
ConverterRegistry を実装している org.springframework.format.support のクラス修飾子と型クラス説明class
FormattingConversionService
の特殊化。ほとんどのアプリケーションに適したコンバーターとフォーマッターでデフォルトで構成されます。class
FormatterRegistry
として構成されるように設計されたConversionService
実装。