Bookmark Topic Watch Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
  • Frits Walraven
  • Carey Brown
  • Tim Holloway
  • 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
    With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
      Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!