Win a copy of Design for the Mind this week in the Design forum!
    Bookmark Topic Watch Topic
 
friki data migration
Ranch Hand
Posts: 772
  • Mark post as helpful
  • send pies
  • Report post to moderator
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.





  • CodeBarn CategoryCodeSamples
     
      Bookmark Topic Watch Topic
    • New Topic