Class EscapeUtils

java.lang.Object
com.github.twitch4j.common.util.EscapeUtils

public class EscapeUtils extends Object
  • Constructor Details

    • EscapeUtils

      public EscapeUtils()
  • Method Details

    • escapeTagValue

      public static String escapeTagValue(Object value)
      Escapes a value for use in an IRCv3 message tag.
      Parameters:
      value - the unescaped message tag value
      Returns:
      the escaped tag value
      See Also:
    • unescapeTagValue

      public static String unescapeTagValue(CharSequence value)
      Unescapes a value used in a IRCv3 message tag.
      Parameters:
      value - the escaped message tag value
      Returns:
      the unescaped value
      See Also: