Class Language

java.lang.Object
org.ametys.cms.languages.Language

public class Language extends Object
A language representation
  • Constructor Details

    • Language

      public Language(String code, I18nizableText label)
      Creates a language
      Parameters:
      code - The code of the language
      label - The label of the language
  • Method Details

    • getCode

      public String getCode()
      Get the language code
      Returns:
      The code
    • 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

      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