friki data migration
posted 1 year ago
This class is essentially a clone of the JavaDoc:java.util.Properties class, but has some additional features:
A file encoding can be specified in the constructor (the Properties class is hard-coded to use ISO-8859-1). The order of the keys in the original file is remembered, and preserved if the properties are written to disk. Any new properties are appended at the end. Comments are also preserved. Some functionality has been left out, e.g. defaults, the XML format and the list methods. JavaDoc:java.util.HashMap and JavaDoc:java.util.Iterator are used instead of JavaDoc:java.util.Hashtable and JavaDoc:java.util.Enumeration, and the datatypes are genericized.