Package com.github.twitch4j.common.util
Class EscapeUtils
java.lang.Object
com.github.twitch4j.common.util.EscapeUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
escapeTagValue
(Object value) Escapes a value for use in an IRCv3 message tag.static String
unescapeTagValue
(CharSequence value) Unescapes a value used in a IRCv3 message tag.
-
Constructor Details
-
EscapeUtils
public EscapeUtils()
-
-
Method Details
-
escapeTagValue
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
Unescapes a value used in a IRCv3 message tag.- Parameters:
value
- the escaped message tag value- Returns:
- the unescaped value
- See Also:
-