Package org.ametys.cms.languages
Class Language
- java.lang.Object
-
- org.ametys.cms.languages.Language
-
-
Constructor Summary
Constructors Constructor Description Language(String code, I18nizableText label)
Creates a language
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the language codeI18nizableText
getLabel()
Get the language labelString
getLargeIcon()
Get the large icon flag imageString
getMediumIcon()
Get the medium icon flag imageString
getSmallIcon()
Get the small icon flag image
-
-
-
Constructor Detail
-
Language
public Language(String code, I18nizableText label)
Creates a language- Parameters:
code
- The code of the languagelabel
- The label of the language
-
-
Method Detail
-
getLabel
public I18nizableText getLabel()
Get the language label- Returns:
- The label
-
getSmallIcon
public String getSmallIcon()
Get the small icon flag image- Returns:
- The path relative to the webapps
-
getMediumIcon
public String getMediumIcon()
Get the medium icon flag image- Returns:
- The path relative to the webapps
-
getLargeIcon
public String getLargeIcon()
Get the large icon flag image- Returns:
- The path relative to the webapps
-
-