Package com.xpn.xwiki.plugin.tag
Class TagParamUtils
- java.lang.Object
-
- com.xpn.xwiki.plugin.tag.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
spacesParameterToList(String spaces)
Convert a single string, describing a list of comma separated space references, each single quoted, to a list of space references (without quotes).
-
-
-
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 formattedIllegalArgumentException
- if the string is null
-
-