对不起,如果标题不清楚。Java:将多个属性文件作为一个加载
我想要做的是加载配置文件“在彼此之上”。
说我有配置#1:
config.property=Something Here
和配置#2:
config.otherproperty=Other Thingy Here
和Java应用程序加载它是这样的:
config.property=Something Here
config.otherproperty=Other Thingy Here
就像它是一个文件一样。
我该怎么做?
对不起,我还不清楚。假设我有两个文本文件,一个是“hello world”,另一个是“hello nobody”。我怎样才能让我的应用程序读取'hello world hello nobody'好像它是一个文件? – 2014-11-03 02:04:11