Package org.geotools.metadata.i18n
Class Locales
Object
Locales
Static i18n methods.
- Since:
- 2.4
- Author:
- Martin Desruisseaux
-
Method Summary
Modifier and TypeMethodDescriptionstatic Locale[]
Returns available languages.static Locale[]
Returns the list of available locales.static String[]
getAvailableLocales
(Locale locale) Returns the list of available locales formatted as string in the specified locale.static void
Prints the list of available locales.
-
Method Details
-
getAvailableLanguages
Returns available languages.- Returns:
- Available languages.
-
getAvailableLocales
Returns the list of available locales.- Returns:
- Available locales.
-
getAvailableLocales
Returns the list of available locales formatted as string in the specified locale.- Parameters:
locale
- The locale to use for formatting the strings to be returned.- Returns:
- String descriptions of available locales.
-
main
Prints the list of available locales.- Parameters:
args
- Command-lines arguments.
-