#Version 0.8.9 * System Requirements: Eclipse 3.3+, JDK 1.5+. The intent is for this software to be used with FlexBuilder 3 or 4, but there are no actual dependencies. * Install (several ways to install) * Add a remote update site through Help->S
在上篇文章中,我们已经学习过了Spring中的类型转换机制。现在我们考虑这样一个需求:在我们web应用中,我们经常需要将前端传入的字符串类型的数据转换成指定格式或者指定数据类型来满足我们调用需求,同样的,后端开发也需要将返回数据调整成指定格式或者指定类型返回到前端页面。这种情况下,Converter已经没法直接支撑我们的需求了。这个时候,格式化的作用就很明显了,这篇文章我们就来介绍Spring中格式化的一套体系。本文主要涉及官网中的3.5及3.6小结
Formatter
接口定义
public