@Test public void get_selected_locales() { LocalizationSetter setter = new LocalizationSetterImpl(null, null, null, "en,fr"); assertListsEquals(setter.getSupportedLocales(), Locale.ENGLISH, Locale.FRENCH); }
public List<Locale> getSupportedLocales() { return supportedLocales; }
LocalizationSetterImpl implements LocalizationSetter { public List<Locale> getSupportedLocales() { return supportedLocales; } }
LocalizationSetterImpl implements LocalizationSetter { public List<Locale> getSupportedLocales() { return supportedLocales; } LocalizationSetterImpl(Request request,

    PersistentLocale persistentLocale,

    ThreadLocale threadLocale,

    @Symbol(SymbolConstants.SUPPORTED_LOCALES)
    String localeNames); }
LocalizationSetterImpl implements LocalizationSetter { public List<Locale> getSupportedLocales() { return supportedLocales; } LocalizationSetterImpl(Request request,

    PersistentLocale persistentLocale,

    ThreadLocale threadLocale,

    @Symbol(SymbolConstants.SUPPORTED_LOCALES)
    String localeNames); Locale toLocale(String localeName); boolean setLocaleFromLocaleName(String localeName); void setNonPersistentLocaleFromLocaleName(String localeName); List<Locale> getSupportedLocales(); boolean isSupportedLocaleName(String localeName); SelectModel getSupportedLocalesModel(); }
LocalizationSetterImpl implements LocalizationSetter { public List<Locale> getSupportedLocales() { return supportedLocales; } LocalizationSetterImpl(Request request,

    PersistentLocale persistentLocale,

    ThreadLocale threadLocale,

    @Symbol(SymbolConstants.SUPPORTED_LOCALES)
    String localeNames); Locale toLocale(String localeName); boolean setLocaleFromLocaleName(String localeName); void setNonPersistentLocaleFromLocaleName(String localeName); List<Locale> getSupportedLocales(); boolean isSupportedLocaleName(String localeName); SelectModel getSupportedLocalesModel();  }