Class DocXMLUtils

java.lang.Object
org.fugerit.java.doc.base.xml.DocXMLUtils

public class DocXMLUtils extends Object
  • Field Details

  • Method Details

    • cleanXML

      public static String cleanXML(String input)
      Clean the input text with the default clean xml regext
      Parameters:
      input - the input text
      Returns:
      the cleaned text
    • cleanText

      public static String cleanText(String input, String cleanRegex)
      Clean the input text with a give regex
      Parameters:
      input - the input text
      cleanRegex - the regex used to clean (everything matching it will be replaced by a "")
      Returns:
      the cleaned text