パッケージ | 説明 |
---|---|
org.springframework.format | UI での表示用にフィールドモデル値をフォーマットするフォーマッターを定義するための API。 |
org.springframework.format.datetime | java.util.Date プロパティのフォーマッタ。 |
org.springframework.format.datetime.joda | Joda の日付と時刻の型、および標準の JDK の日付型をフォーマットするための Joda-Time との統合。 |
org.springframework.format.datetime.standard | JDK 8 の JSR-310 java.time パッケージとの統合。 |
org.springframework.format.number | java.lang.Number プロパティのフォーマッタ。 |
org.springframework.format.number.money | JSR-354 javax.money パッケージとの統合。 |
org.springframework.format.support | フォーマットパッケージのクラスをサポートし、一般的な実装とアダプターを提供します。 |
修飾子と型 | インターフェースと説明 |
---|---|
interface | Formatter<T> 型 T のオブジェクトをフォーマットします。 |
修飾子と型 | メソッドと説明 |
---|---|
Parser<?> | AnnotationFormatterFactory.getParser(A annotation, ClassSE<?> fieldType) annotation のアノテーションが付けられた fieldType のフィールドに対して送信された値を解析するパーサーを取得します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | FormatterRegistry.addFormatterForFieldType(ClassSE<?> fieldType, Printer<?> printer, Parser<?> parser) プリンター / パーサーのペアを追加して、特定の型のフィールドをフォーマットします。 |
void | FormatterRegistry.addParser(Parser<?> parser) 特定の型のフィールドを解析するパーサーを追加します。 |
修飾子と型 | クラスと説明 |
---|---|
class | DateFormatter Date SE 型のフォーマッター。 |
修飾子と型 | メソッドと説明 |
---|---|
Parser<?> | DateTimeFormatAnnotationFormatterFactory.getParser(DateTimeFormat annotation, ClassSE<?> fieldType) |
修飾子と型 | クラスと説明 |
---|---|
class | DateTimeParser 使用すべきではありません。 5.3 以降、標準の JSR-310 サポートを優先 |
class | LocalDateParser 使用すべきではありません。 5.3 以降、標準の JSR-310 サポートを優先 |
class | LocalDateTimeParser 使用すべきではありません。 5.3 以降、標準の JSR-310 サポートを優先 |
class | LocalTimeParser 使用すべきではありません。 5.3 以降、標準の JSR-310 サポートを優先 |
修飾子と型 | メソッドと説明 |
---|---|
Parser<?> | JodaDateTimeFormatAnnotationFormatterFactory.getParser(DateTimeFormat annotation, ClassSE<?> fieldType) 使用すべきではありません。 |
修飾子と型 | クラスと説明 |
---|---|
class | InstantFormatter JSR-310 Instant SE の Formatter 実装、インスタントに対する JSR-310 の解析ルールに従う(つまり、構成可能な DateTimeFormatter SE を使用しない): デフォルトの ISO_INSTANT 形式と RFC_1123_DATE_TIME (HTTP 日付ヘッダー値に一般的に使用されます)を受け入れます。Spring 4.3 以降。 |
class | TemporalAccessorParser |
修飾子と型 | メソッドと説明 |
---|---|
Parser<?> | Jsr310DateTimeFormatAnnotationFormatterFactory.getParser(DateTimeFormat annotation, ClassSE<?> fieldType) |
修飾子と型 | クラスと説明 |
---|---|
class | AbstractNumberFormatter Numbers の抽象フォーマッタ。 AbstractNumberFormatter.getNumberFormat(java.util.Locale) テンプレートメソッドを提供します。 |
class | CurrencyStyleFormatter 通貨スタイルの数値の BigDecimal フォーマッター。 |
class | NumberStyleFormatter NumberFormat の数値スタイルを使用する汎用数値フォーマッター。 |
class | PercentStyleFormatter パーセントスタイルの数値のフォーマッター。 |
修飾子と型 | メソッドと説明 |
---|---|
Parser<NumberSE> | NumberFormatAnnotationFormatterFactory.getParser(NumberFormat annotation, ClassSE<?> fieldType) |
修飾子と型 | クラスと説明 |
---|---|
class | CurrencyUnitFormatter JSR-354 CurrencyUnit 値のフォーマッター(通貨コード文字列との間)。 |
class | MonetaryAmountFormatter JSR-354 MonetaryAmount 値のフォーマッター。MonetaryAmountFormat.format(javax.money.MonetaryAmount) および MonetaryAmountFormat.parse(java.lang.CharSequence) に委譲します。 |
修飾子と型 | メソッドと説明 |
---|---|
Parser<javax.money.MonetaryAmount> | Jsr354NumberFormatAnnotationFormatterFactory.getParser(NumberFormat annotation, ClassSE<?> fieldType) |
修飾子と型 | メソッドと説明 |
---|---|
void | FormattingConversionService.addFormatterForFieldType(ClassSE<?> fieldType, Printer<?> printer, Parser<?> parser) |
void | FormattingConversionService.addParser(Parser<?> parser) |