Package org.ametys.cms.languages
Class Language
java.lang.Object
org.ametys.cms.languages.Language
A language representation
-
Constructor Details
-
Language
Creates a language- Parameters:
code
- The code of the languagelabel
- The label of the language
-
-
Method Details
-
getCode
Get the language code- Returns:
- The code
-
getLabel
Get the language label- Returns:
- The label
-
getSmallIcon
Get the small icon flag image- Returns:
- The path relative to the webapps
-
getMediumIcon
Get the medium icon flag image- Returns:
- The path relative to the webapps
-
getLargeIcon
Get the large icon flag image- Returns:
- The path relative to the webapps
-