Class EscapeUtils
java.lang.Object
net.covers1624.coffeegrinder.source.EscapeUtils
Created by covers1624 on 14/8/21.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringescapeChar(char ch) static StringescapeChars(String string) Escape all non-ascii or control code characters in a string.
-
Constructor Details
-
EscapeUtils
public EscapeUtils()
-
-
Method Details
-
escapeChars
Escape all non-ascii or control code characters in a string.- Parameters:
string- The string.- Returns:
- The new String.
-
escapeChar
-