de.hillenbrand.system
Class ApplicationPreferences

java.lang.Object
  extended by de.hillenbrand.system.ApplicationPreferences

public final class ApplicationPreferences
extends java.lang.Object


Constructor Summary
ApplicationPreferences(java.lang.String applicationName)
           
 
Method Summary
 void add(java.lang.String id, java.lang.Object object)
           
 java.lang.String getApplicationName()
          Returns the value of the applicationName property.
 java.lang.String getProperty(java.lang.String id, java.lang.String defaultValue)
           
 void save()
           
 void setProperty(java.lang.String id, java.lang.String value)
           
 void snapshot()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationPreferences

public ApplicationPreferences(java.lang.String applicationName)
Method Detail

add

public void add(java.lang.String id,
                java.lang.Object object)

getApplicationName

public java.lang.String getApplicationName()
Returns the value of the applicationName property.


getProperty

public java.lang.String getProperty(java.lang.String id,
                                    java.lang.String defaultValue)

save

public void save()

setProperty

public void setProperty(java.lang.String id,
                        java.lang.String value)

snapshot

public void snapshot()