Class Languages

    • Constructor Summary

      Constructors 
      Constructor Description
      Languages()
      No languages are installed
      Languages​(Language... languages)
      Creates a list of languages
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(Language language)
      Adds a language to the current object
      Language[] all()  
      Language get​(java.lang.String key)
      Return a language from the current object based on its key
      java.lang.String[] getSuffixes​(java.lang.String... keys)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Languages

        public Languages​(Language... languages)
        Creates a list of languages
      • Languages

        public Languages()
        No languages are installed
    • Method Detail

      • getSuffixes

        public java.lang.String[] getSuffixes​(java.lang.String... keys)
        Parameters:
        keys - the languages keys
        Returns:
        the list of suffix files associates to languages included in the current object
      • get

        public Language get​(java.lang.String key)
        Return a language from the current object based on its key
      • add

        public void add​(Language language)
        Adds a language to the current object
      • all

        public Language[] all()
        Since:
        4.2