|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.jira.plugin.language.Language
@PublicSpi public class Language
User: kalamon Date: 12.01.11 Time: 12:40
Constructor Summary | |
---|---|
Language(LanguageModuleDescriptor moduleDescriptor)
|
|
Language(Locale locale)
|
Method Summary | |
---|---|
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 |
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Language(Locale locale)
public Language(LanguageModuleDescriptor moduleDescriptor)
Method Detail |
---|
public String getName()
Locale.toString()
public String getDisplayLanguage()
Locale.getDisplayLanguage()
public String getDisplayName()
Locale.getDisplayName()
public String getEncoding()
public void setEncoding(String encoding)
public void setLanguage(String language)
public String getLanguage()
public void setCountry(String country)
public String getCountry()
public void setVariant(String variant)
public String setVariant()
public Locale getLocale()
public void setLocale(Locale locale)
public String getFlagUrl()
public void setFlagUrl(String flagUrl)
flagUrl
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |