com.ideo.sweetdevria.i18n
Class ResourcesManagerHelper
java.lang.Object
com.ideo.sweetdevria.i18n.ResourcesManagerHelper
public class ResourcesManagerHelper
- extends java.lang.Object
Method Summary |
static java.lang.String |
getMessage(java.lang.String key,
javax.servlet.http.HttpSession session)
|
static java.lang.String |
getMessage(java.lang.String key,
javax.servlet.jsp.PageContext pageContext)
Get the message from the RessourceManager, defined in the general properties file. |
static java.lang.String |
getMessage(java.lang.String key,
javax.servlet.ServletRequest request,
javax.servlet.http.HttpSession session)
Get the message from the RessourceManager, defined in the general properties file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourcesManagerHelper
public ResourcesManagerHelper()
getMessage
public static java.lang.String getMessage(java.lang.String key,
javax.servlet.jsp.PageContext pageContext)
- Get the message from the RessourceManager, defined in the general properties file.
- Parameters:
key
- search in the language properties filepageContext
- to define the locale
- Returns:
- message found from language properties file
- Throws:
javax.servlet.jsp.JspException
getMessage
public static java.lang.String getMessage(java.lang.String key,
javax.servlet.ServletRequest request,
javax.servlet.http.HttpSession session)
- Get the message from the RessourceManager, defined in the general properties file.
- Parameters:
key
- search in the language properties filerequest
- to define the locale with session.session
- to define the locale with session.
- Returns:
- message found from language properties file
- Throws:
javax.servlet.jsp.JspException
getMessage
public static java.lang.String getMessage(java.lang.String key,
javax.servlet.http.HttpSession session)
Copyright © 2010 Ideo Technologies. All Rights Reserved.