|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.core.util.LocaleUtils
com.atlassian.jira.web.util.JiraLocaleUtils
LocaleManager interface or LocaleParser instead.
public class JiraLocaleUtils
| Field Summary | |
|---|---|
static String |
DEFAULT_LOCALE_I18N_KEY
Deprecated. |
static String |
DEFAULT_LOCALE_ID
Deprecated. |
| Fields inherited from class com.atlassian.core.util.LocaleUtils |
|---|
installedLocales, LANGUAGE_DESCRIPTOR_FILENAME, LOCALE_TAG_NAME |
| Constructor Summary | |
|---|---|
JiraLocaleUtils()
Deprecated. |
|
| Method Summary | |
|---|---|
protected List<Locale> |
calculateAvailableLocales(Locale userLocale)
Deprecated. |
List<Locale> |
getInstalledLocales()
Deprecated. Use LocaleManager.getInstalledLocales() ) instead. Since v4.2 |
Map<String,String> |
getInstalledLocalesWithDefault(Locale defaultLocale,
I18nHelper helper)
Deprecated. Use LocaleManager.getInstalledLocalesWithDefault(java.util.Locale,
com.atlassian.jira.util.I18nHelper) ) instead. Since v4.2 |
static Locale |
parseLocale(String locale)
Deprecated. Use {@link com.atlassian.jira.util.LocaleParser#parseLocale) instead. Since v4.2 |
void |
resetInstalledLocales()
Deprecated. |
| Methods inherited from class com.atlassian.core.util.LocaleUtils |
|---|
getLocale |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_LOCALE_ID
public static final String DEFAULT_LOCALE_I18N_KEY
| Constructor Detail |
|---|
public JiraLocaleUtils()
| Method Detail |
|---|
public List<Locale> getInstalledLocales()
LocaleManager.getInstalledLocales() ) instead. Since v4.2
getInstalledLocales in class com.atlassian.core.util.LocaleUtilspublic void resetInstalledLocales()
public Map<String,String> getInstalledLocalesWithDefault(Locale defaultLocale,
I18nHelper helper)
LocaleManager.getInstalledLocalesWithDefault(java.util.Locale,
com.atlassian.jira.util.I18nHelper) ) instead. Since v4.2
defaultLocale - default localehelper - i18n helper
public static Locale parseLocale(String locale)
locale - locale
protected List<Locale> calculateAvailableLocales(Locale userLocale)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||