|
||||||||||
| 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 |
| Constructor Summary | |
|---|---|
ConfigurationImpl(java.util.Properties conf)
|
|
ConfigurationImpl(java.lang.String filename)
|
|
| Method Summary | |
|---|---|
java.util.Properties |
getConf()
Retourne les propriétés. |
java.lang.String |
getProperty(java.lang.String key)
Retourne une propriété. |
void |
setConf(java.util.Properties conf)
Change les propriétés. |
void |
setProperty(java.lang.String key,
java.lang.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(java.util.Properties conf)
public ConfigurationImpl(java.lang.String filename)
| Method Detail |
|---|
public java.util.Properties getConf()
Configuration
getConf in interface Configurationpublic void setConf(java.util.Properties conf)
Configuration
setConf in interface Configurationconf - les propriétés.public java.lang.String getProperty(java.lang.String key)
Configuration
getProperty in interface Configurationkey - la clé de la propriété.
public void setProperty(java.lang.String key,
java.lang.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 | |||||||||