com.ideo.sweetdevria.i18n
Class ResourcesManagerHelper

java.lang.Object
  extended by com.ideo.sweetdevria.i18n.ResourcesManagerHelper

public class ResourcesManagerHelper
extends java.lang.Object


Constructor Summary
ResourcesManagerHelper()
           
 
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
 

Constructor Detail

ResourcesManagerHelper

public ResourcesManagerHelper()
Method Detail

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 file
pageContext - 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 file
request - 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.