sun.com/j2se/1.5.0/docs/api/java/util/Properties.html. An XML properties file looks like this:
<?xml version="1.0"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <comment>Description of the property list</comment> <entry key="key1">value1</entry> <entry key="key2">value2</entry> <entry key="key3">value3</entry> </properties>
The Java 5.0 runtime is not required to use this class. The default encoding for this configuration format is UTF-8. Note that unlike {@code PropertiesConfiguration}, {@code XMLPropertiesConfiguration}does not support includes.
Note:Configuration objects of this type can be read concurrently by multiple threads. However if one of these threads modifies the object, synchronization has to be performed manually.
@author Emmanuel Bourg
@author Alistair Young
@version $Id: XMLPropertiesConfiguration.java 1624601 2014-09-12 18:04:36Z oheger $
@since 1.1