Interface LanguageManager.Tree

Enclosing interface:
LanguageManager

public static interface LanguageManager.Tree
Encapsulates information about language specific existences of resources in a tree.
  • Method Details

    • getRoot

      String getRoot()
      Returns the root path of the tree
      Returns:
      the root path of the tree
    • getLanguages

      Collection<Locale> getLanguages()
      Deprecated.
      use getCqLanguages() instead
      Returns a collection of all languages covered by this tree
      Returns:
      collection of languages
    • getCqLanguages

      Collection<Language> getCqLanguages()
      Returns a collection of all languages covered by this tree
      Returns:
      collection of languages
      Since:
      5.4
    • getNodes

      Collection<? extends LanguageManager.TreeNode> getNodes()
      Returns an collection of nodes.
      Returns:
      the nodes