com.liferay.portlet.translator.util
Class TranslatorUtil
java.lang.Object
com.liferay.portlet.translator.util.TranslatorUtil
public class TranslatorUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslatorUtil
public TranslatorUtil()
getFromAndToLanguageIds
public static String[] getFromAndToLanguageIds(String translationId,
Map<String,String> languageIdsMap)
getLanguageIdsMap
public static Map<String,String> getLanguageIdsMap(Locale locale)
throws SystemException
- Throws:
SystemException
getTranslation
public static Translation getTranslation(String fromLanguageId,
String toLanguageId,
String fromText)
throws WebCacheException
- Throws:
WebCacheException