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