If it's only about strings that you want to use then you can use java.util.Properties. It extends Hashtable and has also the functions load and store, which provide the functionality for you.
If it's about object's you'll have to write the function's yourself.
Hope this helps,
Steven.