摘要: Java中,对于格式化字符串,不论是String.format,还是MessageFormat,都很难用。Velocity倒是不错,可就是太重。今天给大家推荐Apache commons-lang中的StrSubstitutor。 文档地址:https://commons.apache.org/pr 阅读全文
posted @ 2017-05-04 20:16 ahhuiyang 阅读(6077) 评论(0) 推荐(3) 编辑