|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ideo.sweetdevria.config.PropertiesManager
public class PropertiesManager
Get properties from default configuration file.
| Constructor Summary | |
|---|---|
PropertiesManager()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getOptionalProperty(java.lang.String key)
Get an optional property value from the default configuration file. |
static java.lang.String |
getProperty(java.lang.String key)
Get a mandatory property's value from the default configuration file. |
static java.lang.String |
getProperty(java.lang.String key,
java.lang.String propertiesFile)
Get the property's value from a specific properties file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertiesManager()
| Method Detail |
|---|
public static java.lang.String getProperty(java.lang.String key)
throws java.util.MissingResourceException
key -
javax.servlet.jsp.JspException
java.util.MissingResourceExceptionpublic static java.lang.String getOptionalProperty(java.lang.String key)
key -
public static java.lang.String getProperty(java.lang.String key,
java.lang.String propertiesFile)
throws javax.servlet.jsp.JspException
key - propertiesFile -
javax.servlet.jsp.JspException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||