public class I18NHelper extends Object
| Constructor and Description |
|---|
I18NHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String[][] |
translateArray(GlobalContext globalContext,
javax.servlet.http.HttpSession session,
String[] keys,
String prefix)
translate a array to a double array
|
static String[][] |
translateArrayInView(GlobalContext globalContext,
javax.servlet.http.HttpSession session,
String[] keys,
String prefix)
translate a array to a double array
|
public static final String[][] translateArray(GlobalContext globalContext, javax.servlet.http.HttpSession session, String[] keys, String prefix) throws FileNotFoundException, IOException
keys - a list of keysprefix - the prefix of the translation key ( sp. : content.web )request - the current request for resource accessIOExceptionFileNotFoundExceptionpublic static final String[][] translateArrayInView(GlobalContext globalContext, javax.servlet.http.HttpSession session, String[] keys, String prefix) throws FileNotFoundException, IOException
globalContext - the context of current websitesession - user sessionkeys - a list of keysprefix - the prefix of the translation key ( sp. : content.web )IOExceptionFileNotFoundExceptionCopyright © 2012-2018. All Rights Reserved.