Get All Locales Supported by the Java Runtime

This code segment returns all the locales supported by the Java Runtime:

// ListSupportedLocales.javaimport java.util.*;// other code to go here.Locale[] localeList = Locale.getAvailableLocales( );    for (int i=0; i
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: