Class StandardApplicationData

  • All Implemented Interfaces:
    ApplicationData

    public class StandardApplicationData
    extends java.lang.Object
    implements ApplicationData
    Saves application data to a simple .properties file in the platform's standard location.
    • Constructor Summary

      Constructors 
      Constructor Description
      StandardApplicationData​(java.lang.String applicationName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void clear()  
      java.lang.String get​(java.lang.String key, java.lang.String defaultValue)  
      void set​(java.lang.String key, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StandardApplicationData

        public StandardApplicationData​(java.lang.String applicationName)
    • Method Detail

      • get

        public java.lang.String get​(java.lang.String key,
                                    java.lang.String defaultValue)
        Specified by:
        get in interface ApplicationData
      • set

        public void set​(java.lang.String key,
                        java.lang.String value)
        Specified by:
        set in interface ApplicationData