| 程序包 | 说明 |
|---|---|
| org.springframework.format.number |
Formatters for
java.lang.Number properties. |
| org.springframework.format.number.money |
Integration with the JSR-354
javax.money package. |
| 限定符和类型 | 方法和说明 |
|---|---|
Parser<Number> |
NumberFormatAnnotationFormatterFactory.getParser(NumberFormat annotation,
Class<?> fieldType) |
Printer<Number> |
NumberFormatAnnotationFormatterFactory.getPrinter(NumberFormat annotation,
Class<?> fieldType) |
| 限定符和类型 | 方法和说明 |
|---|---|
Parser<javax.money.MonetaryAmount> |
Jsr354NumberFormatAnnotationFormatterFactory.getParser(NumberFormat annotation,
Class<?> fieldType) |
Printer<javax.money.MonetaryAmount> |
Jsr354NumberFormatAnnotationFormatterFactory.getPrinter(NumberFormat annotation,
Class<?> fieldType) |