您的位置:首页 > 编程语言 > Java开发

处理JAVA中利用Message Format 进行格化中内容是转义字符的情况

2013-01-23 00:00 281 查看

MessageFormat rules

The table describes how to escape some special charaters.

The special chars \', { and }:

escape ' with another '


''


(double-single quote)
escape \ with another \


\\


(double backslash)
enclose } with '


'}'


enclose { with '


'{'


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息