标签:
继承图:
Object put(Object key, Object value)
Object remove(Object key)
void putAll(Map m)
void clear
Set keySet()
Collection values()
Set entrySet()
Object get(Object key)
boolean containsKey(Object key)
boolean containsValue(Object value)
int size()
boolean isEmpty()
boolean equals(Object obj)
古老的类,线程安全的
属性文件:存放一些设置,或者数据
Properties pro = new Properties();//实例化一个对象
pro.load(new FileInputStream("jdbc.properties"));//加载属性文件
String user = pro.getProperty("user");//得到属性值
标签:
原文地址:http://blog.csdn.net/ttf1993/article/details/45649219