List of usage examples for java.text NumberFormat getAvailableLocales
public static Locale[] getAvailableLocales()
get*Instance
methods of this class can return localized instances. From source file:Main.java
public static void main(String[] args) throws Exception { Locale[] locales = NumberFormat.getAvailableLocales(); for (Locale locale : locales) { System.out.println(locale.getDisplayCountry()); }// w w w . ja va 2 s. c o m }