## 接口的使用
org.springframework.validation.MessageCodeFormatter

- 使用MessageCodeFormatter的程序包
  程序包 | 说明
  --- | ---
  org.springframework.validation | Provides data binding and validation functionality, for usage in business and/or UI layers.

- - ### org.springframework.validation中MessageCodeFormatter的使用

    实现MessageCodeFormatter的org.springframework.validation中的类
    限定符和类型 | 类和说明
    --- | ---
    `static class` | `DefaultMessageCodesResolver.Format` Common message code formats.

    参数类型为MessageCodeFormatter的org.springframework.validation中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | DefaultMessageCodesResolver.`setMessageCodeFormatter(MessageCodeFormatter formatter)` Specify the format for message codes built by this resolver.