【问题标题】:Retrieving Multiple lines From the property file for a single key从单个键的属性文件中检索多行
【发布时间】:2011-08-05 07:37:24
【问题描述】:

在属性文件中,我想为单个键值检索多行。

消息:这是一个消息体 雅 adf

但仅在消息是键的情况下。 我希望能够检索多行。

【问题讨论】:

    标签: key key-value properties-file


    【解决方案1】:

    它将下一行视为一个新键。

    【讨论】:

    • 你可以用 message2 = c = a string with a continuation line \ continuation line \ 123
    • 当有续行时,需要附加 \。我找到了here
    猜你喜欢
    • 2013-02-01
    • 1970-01-01
    • 2020-09-27
    • 2011-08-01
    • 2012-05-12
    • 1970-01-01
    • 2017-04-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多