/** SpagoBI, the Open Source Business Intelligence suite Copyright (C) 2012 Engineering Ingegneria Informatica S.p.A. - SpagoBI Competency Center This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. **/ package it.eng.spagobi.studio.extchart.utils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; /** class that provides with function to update list strings separated by comma * * @author gavardi * */ public class StringUtilities { private static Logger logger = LoggerFactory.getLogger(StringUtilities.class); // public String updateFields(String _presentFields, String _oldFields, String _newFields){ // logger.debug("IN"); // // String presentFields = _presentFields != null ? _presentFields : ""; // String[] presentFieldsA = presentFields.split(","); // // String oldFields = _oldFields != null ? _oldFields : ""; // String[] oldFieldsA = oldFields.split(","); // // String newFields = _newFields != null ? _newFields : ""; // String[] newFieldsA = newFields.split(","); // // /** // * substitute new Fields // * // * // */ // // // // logger.debug("OUT"); // // } }