rafe@rafe.us someone@example.com someoneelse@example.com rafe@rafe.us This is the subject This is the body of an email message.
可定制的模板 属性文件的一个有用的特性是你可以使用MessageFormat 类用动态传入的值替代属性文件里的被指定参数。比如说,假如你需要在属性文件里指定errors,其中一个errors是file not found, 你可以这样写: file.not.found.error=Error, could not find file {0}. 然后,在运行时刻,你这样使用MessageFormat: