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