Here you can find the source of cleanText(String text)
Parameter | Description |
---|---|
text | Text to clean. |
public static String cleanText(String text)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w . j a v a2s.c om*/ * Cleans text so it can be shown properly. * * @param text Text to clean. * @return Clean text. */ public static String cleanText(String text) { return text.replaceAll("&", "&"); } }