de.hedenus.mobilegui
Class Preferences

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<java.lang.Object,java.lang.Object>
          extended by java.util.Properties
              extended by de.hedenus.util.Properties
                  extended by de.hedenus.mobilegui.Preferences
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>

public class Preferences
extends Properties

Simple preferences API. Preferences are stored in the "user.home" folder.

Author:
Michael Hedenus
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
Preferences(java.lang.String propertiesName)
           
 
Method Summary
 void close()
           
 void open()
           
 
Methods inherited from class de.hedenus.util.Properties
getProperty, getPropertyBoolean, getPropertyDouble, getPropertyFloat, getPropertyInt, getPropertyLong, load, resolveProperty
 
Methods inherited from class java.util.Properties
getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preferences

public Preferences(java.lang.String propertiesName)
Method Detail

open

public void open()
          throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Throws:
java.io.IOException