org.zeroexchange.dao.i18n
Class LocalizationUtils
java.lang.Object
org.zeroexchange.dao.i18n.LocalizationUtils
public abstract class LocalizationUtils
- extends Object
- Author:
- black
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalizationUtils
public LocalizationUtils()
toLocalizedValues
public static Collection<LocalizedValue> toLocalizedValues(Strings persistentString)
iterateLocalizations
public static <T> T iterateLocalizations(Strings localizedValues,
LocalizationUtils.LocalizationCallback<T> localizationCallback)
setValue
public static void setValue(Strings persistentLocalization,
String value,
String language)
iterateLocales
public static <T> T iterateLocales(Class stringsClass,
LocalizationUtils.LocalizationCallback<T> localizationCallback)
Copyright © 2013. All Rights Reserved.