Java.util.properties API链接:
https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html
Class Properties
- java.lang.Object
- java.util.Dictionary<K,V>
- java.util.Hashtable<Object,Object>
- java.util.Properties
Constructor and Description |
---|
Properties()
Creates an empty property list with no default values.
|
Properties(Properties defaults)
Creates an empty property list with the specified defaults.
|
void |
load(InputStream inStream)
Reads a property list (key and element pairs) from the input byte stream.
从输入字节流中读取属性列表(键和元素对)。
|
void |
load(Reader reader)
Reads a property list (key and element pairs) from the input character stream in a simple line-oriented format.
使用简单的行定向格式从输入字符流中读取属性列表(键和元素对)。
|