List of usage examples for com.vaadin.client LocaleService getAvailableLocales
public static Set<String> getAvailableLocales()
From source file:com.vaadin.client.DateTimeService.java
License:Apache License
public void setLocale(String locale) throws LocaleNotLoadedException { if (!LocaleService.getAvailableLocales().contains(locale)) { throw new LocaleNotLoadedException(locale); }// www . j a va 2 s . c o m this.locale = locale; }