Class Language
java.lang.Object
com.atlassian.jira.plugin.language.Language
User: kalamon Date: 12.01.11 Time: 12:40
- Since:
- 4.3 and better
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the Language in its locale formReturns the name for the Locale that is appropriate to display to the userReturns the URL of the flag for this languagegetName()Returns the name of the LanguagevoidsetCountry(String country) voidsetEncoding(String encoding) voidsetFlagUrl(String flagUrl) Sets the URL of the flag for this languagevoidsetLanguage(String language) voidvoidsetVariant(String variant)
-
Constructor Details
-
Language
-
Language
-
-
Method Details
-
getName
Returns the name of the Language- Returns:
- The output of locale.toString()
- See Also:
-
getDisplayLanguage
Returns the name of the Language in its locale form- Returns:
- The output of locale.getDisplayLanguage(locale)
- See Also:
-
getDisplayName
Returns the name for the Locale that is appropriate to display to the user- Returns:
- The output of locale.getDisplayName(locale)
- See Also:
-
getEncoding
-
setEncoding
-
setLanguage
-
getLanguage
-
setCountry
-
getCountry
-
setVariant
-
setVariant
-
getLocale
-
setLocale
-
getFlagUrl
Returns the URL of the flag for this languageNote: This URL does not contain the context path or base URL of the Confluence installation
- Returns:
- String representing the URL
-
setFlagUrl
Sets the URL of the flag for this languageNote: This URL should not contain the context path or base URL of the Confluence installation
- Parameters:
flagUrl-
-