/** * Returns an array of the comma separated parameter(s) found after the specified keyword. * * @param keyword keyword to be searched * @return parameters found after the specified keyword * @throws PluginException if the keyword or parameters are not found */ public String[] checkCSVParamsFor(final PluginKeyword keyword) throws PluginException { return this.checkParamsFor(keyword).split(PluginPattern.COMMA.toString()); }
/** * Returns an array of the comma separated parameter(s) found after the specified keyword. * * @param keyword keyword to be searched * @param startNdx the start ndx * @return parameters found after the specified keyword */ public String[] getCSVParamsFor(final PluginKeyword keyword, final int startNdx) { final String params = this.getParamsFor(keyword, startNdx); return params.equals(PluginPattern.BLANK.toString()) ? new String[0] : params.split(PluginPattern.COMMA.toString()); }