【发布时间】:2013-06-16 23:56:12
【问题描述】:
我有 Object 类型的 Map,我需要将此映射转换为 String 类型。
Map<String, String> map = new HashMap<String, String>();
Properties properties = new Properties();
properties.load(instream);
谁能告诉我,如何将属性分配给上面的地图?
感谢和问候, 姆奈杜
【问题讨论】:
-
Properties是什么对象? -
@TimothyGroote - 我认为它很可能不是
java.util.Properties。
标签: java map inputstream