Package application.util
Klasse PropertyManager
java.lang.Object
application.util.PropertyManager
- Siehe auch:
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected voidFills the properties with default values SHOW_BIRTHDAYS_COUNT == 10 SAVED_LOCALE == en_EN AUTOSAVE == false WRITE_THRU == falsestatic PropertyManagerStatic method to create instance of PersonManager classstatic StringgetProperty(String key) static StringgetProperty(String key, String defaultValue) voidvoidstoreProperties(String comments)
-
Methodendetails
-
getInstance
Static method to create instance of PersonManager class- Gibt zurück:
- the only instance
PersonManager
-
getProperty
- Parameter:
key- For the property- Gibt zurück:
- a property as String
-
getProperty
- 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
-
loadProperties
- Löst aus:
IOException
-
storeProperties
- Löst aus:
IOException
-