会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
yzuzhang
博客园
首页
新随笔
联系
订阅
管理
2015年12月25日
MessageFormat用法
摘要: MessageFormat用来格式化一个消息,通常是一个字符串,比如:String str = "I'm not a {0}, age is {1,number,short}", height is {2,number,#.#};而MessageFormat可以格式化这样的消息,然后将格式化后的字符...
阅读全文
posted @ 2015-12-25 09:28 yzuzhang
阅读(992)
评论(0)
推荐(0)
编辑
公告