Here you can find the source of cleanString(String input, char ol, char ne)
Parameter | Description |
---|---|
tsize | Description of the Parameter |
public static String cleanString(String input, char ol, char ne)
//package com.java2s; /****************************************************************************** * * * Barred File Archiver./* ww w. j a va 2s . com*/ * * Copyright (C) 2009 by Frank Jennings (fermatjen@yahoo.com). * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * * * @author Frank Jennings fermatjen@yahoo.com * @created September 20, 2009 */ public class Main { /** * Helper method for replacing the file seperator * char based on the OS * *@param tsize Description of the Parameter *@return The block value */ public static String cleanString(String input, char ol, char ne) { return input.replace(ol, ne); } }