Klasse PropertyManager

java.lang.Object
application.util.PropertyManager

public class PropertyManager extends Object
Siehe auch:
  • Methodendetails

    • getInstance

      public static PropertyManager getInstance()
      Static method to create instance of PersonManager class
      Gibt zurück:
      the only instance PersonManager
    • getProperty

      public static String getProperty(String key)
      Parameter:
      key - For the property
      Gibt zurück:
      a property as String
    • getProperty

      public static String getProperty(String key, String defaultValue)
      Parameter:
      key - For the property
      Gibt zurück:
      a property as String
    • fillWithStandardProperties

      protected void fillWithStandardProperties()
      Fills the properties with default values
      • SHOW_BIRTHDAYS_COUNT == 10
      • SAVED_LOCALE == en_EN
      • AUTOSAVE == false
      • WRITE_THRU == false
    • getProperties

      public Properties getProperties()
    • loadProperties

      public void loadProperties() throws IOException
      Löst aus:
      IOException
    • storeProperties

      public void storeProperties(String comments) throws IOException
      Löst aus:
      IOException