0

Java 怎样加载 properties文件

god created at5 years ago view count: 2515
report
回复
0
Properties prop = new Properties();
InputStream in = getClass().getResourceAsStream("foo.properties");
prop.load(in);
in.close();
5 years ago 回复

Recent search keywords