| java.lang.Object com.liferay.util.LocalizationUtil
LocalizationUtil | public class LocalizationUtil (Code) | | View Source
author: Alexander Chow |
Method Summary | |
public static String[] | getAvailableLocales(String xml) | public static String | getDefaultLocale(String xml) | public static String | getLocalization(String xml, String requestedLanguageId) | public static String | getLocalization(String xml, String requestedLanguageId, boolean useDefault) | public static String | getPrefsValue(PortletPreferences prefs, String key, String languageId) | public static String | getPrefsValue(PortletPreferences prefs, String key, String languageId, boolean useDefault) | public static String[] | getPrefsValues(PortletPreferences prefs, String key, String languageId) | public static String[] | getPrefsValues(PortletPreferences prefs, String key, String languageId, boolean useDefault) | public static String | removeLocalization(String xml, String key, String requestedLanguageId) | public static void | setPrefsValue(PortletPreferences prefs, String key, String languageId, String value) | public static void | setPrefsValues(PortletPreferences prefs, String key, String languageId, String[] values) | public static String | updateLocalization(String xml, String key, String value) | public static String | updateLocalization(String xml, String key, String value, String requestedLanguageId) | public static String | updateLocalization(String xml, String key, String value, String requestedLanguageId, String defaultLanguageId) | public static String | updateLocalization(String xml, String key, String value, String requestedLanguageId, String defaultLanguageId, boolean cdata) |
getPrefsValue | public static String getPrefsValue(PortletPreferences prefs, String key, String languageId, boolean useDefault)(Code) | | |
getPrefsValues | public static String[] getPrefsValues(PortletPreferences prefs, String key, String languageId, boolean useDefault)(Code) | | |
|
|