Class TagParamUtils


  • public final class TagParamUtils
    extends Object
    TagParamUtils handles queries allowing to search and count tags within the wiki.
    Since:
    8.2M1
    Version:
    $Id: 4c573c154cf2f6201cd19f69944fb2d2dd89dc78 $
    • Method Detail

      • spacesParameterToList

        public static List<String> spacesParameterToList​(String spaces)
                                                  throws XWikiException
        Convert a single string, describing a list of comma separated space references, each single quoted, to a list of space references (without quotes). Used to convert the "spaces" parameter of the tags macro.
        Parameters:
        spaces - string describing list of spaces
        Returns:
        list of spaces
        Throws:
        XWikiException - if the string is not well formatted
        IllegalArgumentException - if the string is null