public class LocaleUtils extends Object
Constructor and Description |
---|
LocaleUtils() |
Modifier and Type | Method and Description |
---|---|
static Locale |
getFrqSessionLocale(javax.servlet.http.HttpServletRequest req) |
static String |
getLanguage(IFormRenderContext renderCtx,
FRQSession session) |
static String |
getLanguage(IFormRenderContext renderCtx,
XfcSession session)
Liefert für diesen RenderContext und Session den gültigen Language-Key in der ISO-Form "en".
|
static String |
getLanguageTag(IFormRenderContext renderCtx,
FRQSession session) |
static String |
getLanguageTag(IFormRenderContext renderCtx,
XfcSession session)
Liefert für diesen RenderContext und Session den gültigen Language-Tag in der ISO-Form "en-GB".
|
static Locale |
getLocale(javax.servlet.http.HttpServletRequest req) |
static Locale |
getLocale(javax.servlet.http.HttpServletRequest request,
FRQSession frqSession) |
static Locale |
getLocale(javax.servlet.http.HttpServletRequest request,
String lang,
XfcSession frqSession) |
static Locale |
getLocale(javax.servlet.http.HttpServletRequest req,
XfcSession xfcSess) |
static Locale |
getLocale(String lang,
XfcSession xfcSess) |
static Locale |
getLocale(ValueParameters params,
XfcSession xfcSess)
Deprecated.
|
@Deprecated public static Locale getLocale(ValueParameters params, XfcSession xfcSess)
public static Locale getLocale(javax.servlet.http.HttpServletRequest req, XfcSession xfcSess)
public static Locale getFrqSessionLocale(javax.servlet.http.HttpServletRequest req)
public static Locale getLocale(javax.servlet.http.HttpServletRequest req)
public static Locale getLocale(String lang, XfcSession xfcSess)
public static Locale getLocale(javax.servlet.http.HttpServletRequest request, String lang, XfcSession frqSession)
public static Locale getLocale(javax.servlet.http.HttpServletRequest request, FRQSession frqSession)
public static String getLanguageTag(IFormRenderContext renderCtx, XfcSession session)
renderCtx
- IFormRenderContext
session
- XfcSession
public static String getLanguageTag(IFormRenderContext renderCtx, FRQSession session)
public static String getLanguage(IFormRenderContext renderCtx, XfcSession session)
renderCtx
- IFormRenderContext
session
- XfcSession
public static String getLanguage(IFormRenderContext renderCtx, FRQSession session)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.