Class Language

java.lang.Object
com.atlassian.jira.plugin.language.Language

@PublicSpi public class Language extends Object
User: kalamon Date: 12.01.11 Time: 12:40
Since:
4.3 and better
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns the name of the Language
      Returns:
      The output of locale.toString()
      See Also:
    • getDisplayLanguage

      public String getDisplayLanguage()
      Returns the name of the Language in its locale form
      Returns:
      The output of locale.getDisplayLanguage(locale)
      See Also:
    • getDisplayName

      public String 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

      public String getEncoding()
    • setEncoding

      public void setEncoding(String encoding)
    • setLanguage

      public void setLanguage(String language)
    • getLanguage

      public String getLanguage()
    • setCountry

      public void setCountry(String country)
    • getCountry

      public String getCountry()
    • setVariant

      public void setVariant(String variant)
    • setVariant

      public String setVariant()
    • getLocale

      public Locale getLocale()
    • setLocale

      public void setLocale(Locale locale)
    • getFlagUrl

      public String getFlagUrl()
      Returns the URL of the flag for this language

      Note: This URL does not contain the context path or base URL of the Confluence installation

      Returns:
      String representing the URL
    • setFlagUrl

      public void setFlagUrl(String flagUrl)
      Sets the URL of the flag for this language

      Note: This URL should not contain the context path or base URL of the Confluence installation

      Parameters:
      flagUrl -