60.3. 支持的数据类型
DefaultFormatFactory 通过根据提供的 FormattingOptions 返回接口 FormatFactoryInterface 的实例来提供以下 datatype 格式化:
- BigDecimal
- BigInteger
- 布尔值
- byte
- 字符
- Date
- 双
- Enums
- 浮点值
- 整数
- LocalDate
- LocalDateTime
- LocalTime
- Long
- short
- 字符串
DefaultFormatFactory 可以通过在 registry 中使用(如 Spring 或 JNDI)中提供 FactoryRegistry 实例来覆盖。