LocaleExtensions from project resourcebundle-core.public class LocaleExtensions extends Object
| Constructor and Description |
|---|
LocaleExtensions()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
getLocaleFilenameSuffix(Locale locale)
Deprecated.
Gets the locale file name suffix that has the format 'language_COUNTRY_variant' for instance
'de_DE' for the Locale.GERMANY.
|
static String |
getLocaleFileSuffix(Locale locale,
boolean withCountry)
Deprecated.
Gets the locale file name suffix for instance '_de_DE' for the Locale.GERMANY.
|
static String |
getLocaleFileSuffix(Locale locale,
boolean withCountry,
boolean withVariant)
Deprecated.
Gets the locale file name suffix for instance '_de_DE' for the Locale.GERMANY.
|
static String |
getLocaleFileSuffix(Locale locale,
boolean withCountry,
boolean withVariant,
boolean withUnderscorePrefix)
Deprecated.
Gets the locale file name suffix for instance '_de_DE' for the Locale.GERMANY.
|
static String |
getLocaleName(Locale locale)
Deprecated.
Gets the locale name for instance 'de_DE' for the Locale.GERMANY.
|
public static String getLocaleFilenameSuffix(Locale locale)
locale - the localepublic static String getLocaleFileSuffix(Locale locale, boolean withCountry)
locale - the localewithCountry - the with countrypublic static String getLocaleFileSuffix(Locale locale, boolean withCountry, boolean withVariant)
locale - the localewithCountry - with countrywithVariant - with variantpublic static String getLocaleFileSuffix(Locale locale, boolean withCountry, boolean withVariant, boolean withUnderscorePrefix)
locale - the localewithCountry - with countrywithVariant - with variantwithUnderscorePrefix - true if the result has to have the underscore prefixCopyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.