2010-09-14 115 views
2

是否有可能在message.properties中有多行的属性?是否有可能在message.properties中包含多行的属性?

例如(下面my.property)

my.property=This property will 
be in two lines 
my.property.two=Another property 

我需要这个,我会在属性中把文件帮助文本......我不想做追加。

任何帮助,将不胜感激。谢谢!

回答

2

是的,这是可能的。

把它们写这样的(使用反斜线\作为转义字符):

my.property=This property will \ 
be in two lines 
my.property.two=Another property 
+0

我们走吧!谢谢!!! :d – callie16 2010-09-15 00:38:38

相关问题