Java.util. Properties : An object that can persist key values for storage. The subclass of the map--hashtable.
Map
|--hashtable
|--properties: Used for property configuration files, both keys and values are string types.
Features: 1 : You can persist data storage. 2: The key value is a string. 3: Typically used for configuration files.
|--load () : Loads the data from the stream into the collection.
principle: In fact, is to read the stream and the specified file associated, and read a row of data, because the data is the rule of the key=value, so get a row, through = to cut the row of data, the left is the key, the right is the value, the key, value stored in the Properties collection.
|--Store () : refreshes the output stream after each item is written.
|--list () : lists the collection's key-value data to the specified destination.
Java.util.Properties