Interface LanguageManager.Tree

  • Enclosing interface:
    LanguageManager

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

      • getRoot

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

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

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

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