Chris Mair的XProperties类可能是一个不错的起点。
你可以在属性值的任何位置替换一个常量,甚至可以在一个值中包含多个常量,如以下示例所示:
CONST_1 = shoes and shipsCONST_2 = sealing waxSomevalue = {CONST_1} and {CONST_2} 在此示例中,“ Somevalue”属性的计算结果为”shoes and ships and sealing wax.”。

Chris Mair的XProperties类可能是一个不错的起点。
你可以在属性值的任何位置替换一个常量,甚至可以在一个值中包含多个常量,如以下示例所示:
CONST_1 = shoes and shipsCONST_2 = sealing waxSomevalue = {CONST_1} and {CONST_2} 在此示例中,“ Somevalue”属性的计算结果为”shoes and ships and sealing wax.”。