Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
label.my.answer=My Answer
我想在上述键的末尾故意添加空格(例如,我想在末尾有 2 个空格"My Answer ")
"My Answer "
当前,java.util.ResourceBundle 功能在检索值时会修剪这段代码
label.myAnswer = My Answer\u0020\u0020
注意:带点的标识符通常表示名称的层次结构,而my不是层次结构级别。您肯定不会定义同名的 Java 类或 Java 包,对吗?
my
还
label.myAnswer = My Answer\ \