/** * Setter for the attribute "noAutoCloseTags" of the <cms:parse> tag.<p> * * Awaits a <code>String</code> that consists of the comma-separated upper case tag names for which this * tag should not correct missing closing tags.<p> * * @param noAutoCloseTagList a <code>String</code> that consists of the comma-separated upper case tag names for which this * tag should not correct missing closing tags */ public void setNoAutoCloseTags(String noAutoCloseTagList) { m_noAutoCloseTags = CmsStringUtil.splitAsList(noAutoCloseTagList, ','); }
/** * Splits a String into substrings along the provided char delimiter and returns * the result as a List of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the List of splitted Substrings */ public static List<String> splitAsList(String source, char delimiter) { return splitAsList(source, delimiter, false); }
/** * Set the comma separated search root names to restrict search to.<p> * * @param rootNameList the comma separated search root names to restrict search to */ public void setSearchRoots(String rootNameList) { m_roots = CmsStringUtil.splitAsList(rootNameList, ','); }
/** * Splits a String into substrings along the provided String delimiter and returns * the result as List of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the Array of splitted Substrings */ public static List<String> splitAsList(String source, String delimiter) { return splitAsList(source, delimiter, false); }
/** * Set the comma separated search root names to restrict search to.<p> * * @param rootNameList the comma separated search root names to restrict search to */ public void setSearchRoots(String rootNameList) { m_roots = CmsStringUtil.splitAsList(rootNameList, ','); }
/** * Splits a String into substrings along the provided char delimiter and returns * the result as a List of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the List of splitted Substrings */ public static List<String> splitAsList(String source, char delimiter) { return splitAsList(source, delimiter, false); }
/** * Splits a String into substrings along the provided String delimiter and returns * the result as List of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the Array of splitted Substrings */ public static List<String> splitAsList(String source, String delimiter) { return splitAsList(source, delimiter, false); }
/** * Bean property setter method user from the <code>step_5_xmlupdate.jsp</code>.<p> * * @param value the value to set */ public void setSelectedPlugins(String value) { m_selectedPlugins = CmsStringUtil.splitAsList(value, "|", true); }
/** * Setter for the attribute "noAutoCloseTags" of the <cms:parse> tag.<p> * * Awaits a <code>String</code> that consists of the comma-separated upper case tag names for which this * tag should not correct missing closing tags.<p> * * @param noAutoCloseTagList a <code>String</code> that consists of the comma-separated upper case tag names for which this * tag should not correct missing closing tags */ public void setNoAutoCloseTags(String noAutoCloseTagList) { m_noAutoCloseTags = CmsStringUtil.splitAsList(noAutoCloseTagList, ','); }
/** * Setter for the attribute "noAutoCloseTags" of the <cms:parse> tag.<p> * * Awaits a <code>String</code> that consists of the comma-separated upper case tag names for which this * tag should not correct missing closing tags.<p> * * @param noAutoCloseTagList a <code>String</code> that consists of the comma-separated upper case tag names for which this * tag should not correct missing closing tags. */ public void setNoAutoCloseTags(String noAutoCloseTagList) { m_noAutoCloseTags = CmsStringUtil.splitAsList(noAutoCloseTagList, ','); } }
/** * Splits a String into substrings along the provided String delimiter and returns * the result as an Array of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the Array of splitted Substrings */ public static String[] splitAsArray(String source, String delimiter) { List<String> result = splitAsList(source, delimiter); return result.toArray(new String[result.size()]); }
/** * Splits a String into substrings along the provided char delimiter and returns * the result as an Array of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the Array of splitted Substrings */ public static String[] splitAsArray(String source, char delimiter) { List<String> result = splitAsList(source, delimiter); return result.toArray(new String[result.size()]); }
/** * Splits a String into substrings along the provided String delimiter and returns * the result as an Array of Substrings.<p> * * @param source the String to split * @param delimiter the delimiter to split at * * @return the Array of splitted Substrings */ public static String[] splitAsArray(String source, String delimiter) { List<String> result = splitAsList(source, delimiter); return result.toArray(new String[result.size()]); }
/** * @see org.opencms.file.wrapper.A_CmsResourceWrapper#configure(java.lang.String) */ @Override public void configure(String configString) { List<String> tokens = CmsStringUtil.splitAsList(configString, NAME_SEPARATOR); for (String token : tokens) { m_disabledNames.add(token.trim().toLowerCase()); } }
/** * Returns a List of locales from a comma-separated string of locale names.<p> * * @param localeNames a comma-separated string of locale names * @return a List of locales derived from the given locale names */ public static List<Locale> getLocales(String localeNames) { if (localeNames == null) { return null; } return getLocales(CmsStringUtil.splitAsList(localeNames, ',')); }
/** * Set the comma separated search root names to restrict search to.<p> * * @param categories the comma separated category names to restrict search to */ public void setSearchCategories(String categories) { setCategories(CmsStringUtil.splitAsList(categories, ',')); }
/** * Returns a List of locales from a comma-separated string of locale names.<p> * * @param localeNames a comma-separated string of locale names * @return a List of locales derived from the given locale names */ public static List<Locale> getLocales(String localeNames) { if (localeNames == null) { return null; } return getLocales(CmsStringUtil.splitAsList(localeNames, ',')); }
/** * Returns the selected groups.<p> * * @return the selected groups */ public List<String> getGroups() { return CmsStringUtil.splitAsList(getParamGroups(), CmsHtmlList.ITEM_SEPARATOR); }
/** * Returns the selected groups.<p> * * @return the selected groups */ public List<String> getGroups() { return CmsStringUtil.splitAsList(getParamGroups(), CmsHtmlList.ITEM_SEPARATOR); }
/** * Set the comma separated search root names to restrict search to.<p> * * @param categories the comma separated category names to restrict search to */ public void setSearchCategories(String categories) { setCategories(CmsStringUtil.splitAsList(categories, ',')); }