public class

Language

extends Object
implements Serializable
java.lang.Object
   ↳ com.atlassian.confluence.languages.Language

Class Overview

Created by IntelliJ IDEA. User: Jeremy Higgs Date: 2/02/2006 Time: 10:17:56

Summary

Public Constructors
Language(Locale locale)
Language(LanguageModuleDescriptor moduleDescriptor)
Public Methods
String getCapitalDisplayName()
String getCountry()
String getDisplayLanguage()
Returns the name of the Language in its locale form
String getDisplayName()
Returns the name for the Locale that is appropriate to display to the user
String getEncoding()
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
String getLanguage()
Locale getLocale()
String getName()
Returns the name of the Language
String getResourceBundlePath()
boolean isLicensed()
void setCountry(String country)
void setEncoding(String encoding)
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
void setLanguage(String language)
void setLocale(Locale locale)
String setVariant()
void setVariant(String variant)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Language (Locale locale)

public Language (LanguageModuleDescriptor moduleDescriptor)

Public Methods

public String getCapitalDisplayName ()

public String getCountry ()

public String getDisplayLanguage ()

Returns the name of the Language in its locale form

Returns
  • The output of locale.getDisplayLanguage(locale)

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

public String getEncoding ()

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

public String getLanguage ()

public Locale getLocale ()

public String getName ()

Returns the name of the Language

Returns
  • The output of locale.toString()
See Also

public String getResourceBundlePath ()

public boolean isLicensed ()

public void setCountry (String country)

public void setEncoding (String encoding)

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

public void setLanguage (String language)

public void setLocale (Locale locale)

public String setVariant ()

public void setVariant (String variant)