org.chorem.pollen.ui.services
Interface Configuration

All Known Implementing Classes:
ConfigurationImpl

public interface Configuration

Service de gestion de la configuration de l'application. Ce service lit la configuration dans un fichier properties.

Version:
$Id: Configuration.java 2927 2010-03-10 18:08:53Z echatellier $
Author:
rannou

Field Summary
static String FEED_DIR
           
static String IMG_DIR
           
static String PROP_APP_VERSION
           
static String PROP_CONTACT_EMAIL
           
static String PROP_EMAIL_DIRECTORY
           
static String PROP_NB_VOTES_PER_PAGE
           
 
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

FEED_DIR

static final String FEED_DIR
See Also:
Constant Field Values

IMG_DIR

static final String IMG_DIR
See Also:
Constant Field Values

PROP_APP_VERSION

static final String PROP_APP_VERSION
See Also:
Constant Field Values

PROP_CONTACT_EMAIL

static final String PROP_CONTACT_EMAIL
See Also:
Constant Field Values

PROP_NB_VOTES_PER_PAGE

static final String PROP_NB_VOTES_PER_PAGE
See Also:
Constant Field Values

PROP_EMAIL_DIRECTORY

static final String PROP_EMAIL_DIRECTORY
See Also:
Constant Field Values
Method Detail

getConf

Properties getConf()
Retourne les propriétés.

Returns:
les propriétés.

setConf

void setConf(Properties conf)
Change les propriétés.

Parameters:
conf - les propriétés.

getProperty

String getProperty(String key)
Retourne une propriété.

Parameters:
key - la clé de la propriété.
Returns:
la propriété.

setProperty

void setProperty(String key,
                 String value)
Change une propriété.

Parameters:
key - la clé de la propriété.
value - la valeur de la propriété.


Copyright © 2009-2010 CodeLutin. All Rights Reserved.