MessageFormat用法 发表于 2016-01-30 由 小样儿 回复 MessageFormat用来格式化一个消息,通常是一个字符串,比如: String str = "I'm not a {0}, age is {1,number,short}", height is {2,number,#.#}; [......] 阅读全文