com.nitido.nimx.services.brand
Class BrandUtil
java.lang.Object
com.nitido.nimx.services.brand.BrandUtil
public class BrandUtil
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOCALE
public static final java.lang.String DEFAULT_LOCALE
BrandUtil
public BrandUtil()
getLocale
public static java.lang.String getLocale(NimletInput input)
getLocale
public static java.lang.String getLocale(NimletInput input,
Entity user)
- Determine the locale from the input and the user. First an attempt is
made to retrieve the locale from the entity's use space ( if the entity
is not null ). If no valid locale is available at that point the
request is consulted for a locale cookie.
- Parameters:
input
- the requestuser
- the user making the request
- Returns:
- locale to use for this request, or null if one can't be found
getLocaleFromCookies
public static java.lang.String getLocaleFromCookies(javax.servlet.http.Cookie[] cookies)
setLocaleCookie
public static void setLocaleCookie(NimletInput input,
java.lang.String locale)
These JavaDoc pages are generated for release/nim_2_5-2.5.44 Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.