代码改变世界

Android中格式化

2015-03-20 16:00  一切尽在掌握  阅读(180)  评论(0编辑  收藏  举报

1、将字符串格式化成指定样式

String.format("a.%s=", method.getName())

例如:call --> a.call=