是否有可能在message.properties中包含多行的属性?
问题描述:
是否有可能在message.properties中有多行的属性?是否有可能在message.properties中包含多行的属性?
例如(下面my.property)
my.property=This property will
be in two lines
my.property.two=Another property
我需要这个,我会在属性中把文件帮助文本......我不想做追加。
任何帮助,将不胜感激。谢谢!
答
是的,这是可能的。
把它们写这样的(使用反斜线\
作为转义字符):
my.property=This property will \
be in two lines
my.property.two=Another property
我们走吧!谢谢!!! :d – callie16 2010-09-15 00:38:38