Class ReplacePatternUtils

java.lang.Object
fr.gouv.vitam.elastic.kibana.interceptor.rest.ReplacePatternUtils

public class ReplacePatternUtils extends Object
ReplacePatternUtils
  • Constructor Details

    • ReplacePatternUtils

      public ReplacePatternUtils(List<String> whiteList)
      Constructor
      Parameters:
      whiteList - white list define in configuration file.
  • Method Details

    • replaceUnderscoreBySharp

      public String replaceUnderscoreBySharp(String textToReplace)
      Replace Underscore By Sharp
      Parameters:
      textToReplace - textToReplace
      Returns:
      the text replaced with sharp
    • replaceSharpByUnderscore

      public String replaceSharpByUnderscore(String textToReplace)
      Replace Sharp By Underscore
      Parameters:
      textToReplace - textToReplace
      Returns:
      the text replaced with underscore