|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Configuration
Service de gestion de la configuration de l'application. Ce service lit la configuration dans un fichier properties.
| Field Summary | |
|---|---|
static String |
FEED_DIR
|
static String |
IMG_DIR
|
static String |
PROP_APP_VERSION
|
static String |
PROP_CONTACT_EMAIL
|
| 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é. |
| Field Detail |
|---|
static final String FEED_DIR
static final String IMG_DIR
static final String PROP_APP_VERSION
static final String PROP_CONTACT_EMAIL
| Method Detail |
|---|
Properties getConf()
void setConf(Properties conf)
conf - les propriétés.String getProperty(String key)
key - la clé de la propriété.
void setProperty(String key,
String value)
key - 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 | |||||||||