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 StringgetCode()Get the language codeI18nizableTextgetLabel()Get the language labelStringgetLargeIcon()Get the large icon flag imageStringgetMediumIcon()Get the medium icon flag imageStringgetSmallIcon()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
-
-