| java.lang.Object com.liferay.portal.kernel.language.LanguageUtil
LanguageUtil | public class LanguageUtil (Code) | | View Source
author: Brian Wing Shun Chan |
Method Summary | |
public static String | format(Locale locale, String pattern, Object argument) | public static String | format(Locale locale, String pattern, Object[] arguments) | public static String | format(long companyId, Locale locale, String pattern, Object argument) | public static String | format(long companyId, Locale locale, String pattern, Object[] arguments) | public static String | format(PageContext pageContext, String pattern, Object argument) | public static String | format(PageContext pageContext, String pattern, Object argument, boolean translateArguments) | public static String | format(PageContext pageContext, String pattern, Object[] arguments) | public static String | format(PageContext pageContext, String pattern, Object[] arguments, boolean translateArguments) | public static String | format(PageContext pageContext, String pattern, LanguageWrapper argument) | public static String | format(PageContext pageContext, String pattern, LanguageWrapper argument, boolean translateArguments) | public static String | format(PageContext pageContext, String pattern, LanguageWrapper[] arguments) | public static String | format(PageContext pageContext, String pattern, LanguageWrapper[] arguments, boolean translateArguments) | public static String | get(Locale locale, String key) | public static String | get(long companyId, Locale locale, String key) | public static String | get(long companyId, Locale locale, String key, String defaultValue) | public static String | get(PageContext pageContext, String key) | public static String | get(PageContext pageContext, String key, String defaultValue) | public static Locale[] | getAvailableLocales() | public static String | getCharset(Locale locale) | public static Language | getLanguage() | public static String | getLanguageId(ActionRequest req) | public static String | getLanguageId(RenderRequest req) | public static String | getLanguageId(HttpServletRequest req) | public static String | getLanguageId(Locale locale) | public static Locale | getLocale(String languageCode) | public static String | getTimeDescription(PageContext pageContext, Long milliseconds) | public static String | getTimeDescription(PageContext pageContext, long milliseconds) | public void | setLanguage(Language language) | public static void | updateCookie(HttpServletResponse res, Locale locale) |
getAvailableLocales | public static Locale[] getAvailableLocales()(Code) | | |
getLanguageId | public static String getLanguageId(ActionRequest req)(Code) | | |
getLanguageId | public static String getLanguageId(RenderRequest req)(Code) | | |
|
|