`
flameapollo
  • 浏览: 1468 次
最近访客 更多访客>>
社区版块
存档分类
最新评论

MessageFormat

阅读更多
今天自学了MessageFormat

String instead = "Flameapollo";
String str1 = new String("This is a TextFormat {0}");
String format_str =MessageFormat.format(str1,instead);

System.out.println("format_str->"+format_str);
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics