|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.chorem.pollen.ui.services.ConfigurationImpl
public class ConfigurationImpl
Implémentation du service de gestion de la configuration de l'application. Ce service lit la configuration dans un fichier properties.
| Field Summary |
|---|
| Fields inherited from interface org.chorem.pollen.ui.services.Configuration |
|---|
FEED_DIR, IMG_DIR, PROP_APP_VERSION, PROP_CONTACT_EMAIL |
| Constructor Summary | |
|---|---|
ConfigurationImpl(Properties conf)
|
|
ConfigurationImpl(String filename)
|
|
| Method Summary | |
|---|---|
Properties |
getConf()
Retourne les propriétés. |
String |
getProperty(String key)
Retourne une propriété. |
void |
setConf(Properties conf)
Change les propriétés. |
void |
setProperty(String key,
String value)
Change une propriété. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationImpl(Properties conf)
public ConfigurationImpl(String filename)
| Method Detail |
|---|
public Properties getConf()
Configuration
getConf in interface Configurationpublic void setConf(Properties conf)
Configuration
setConf in interface Configurationconf - les propriétés.public String getProperty(String key)
Configuration
getProperty in interface Configurationkey - la clé de la propriété.
public void setProperty(String key,
String value)
Configuration
setProperty in interface Configurationkey - la clé de la propriété.value - la valeur de la propriété.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||