The Properties Class implements the Map-Interface.
The Properties Class has Methods to save its content to a Stream.
look at: http://java.sun.com/j2se/1.3/docs/api/java/util/Properties.html
If you do not need to save the content, stay with a "normal" Map Implementation like HashMap