MCPcopy Create free account
hub / github.com/apache/tomcat / escape

Method escape

java/org/apache/juli/JsonFormatter.java:131–133  ·  view source on GitHub ↗

Escape the given string. @param input the string @return the escaped string

(String input)

Source from the content-addressed store, hash-verified

129 * @return the escaped string
130 */
131 public static String escape(String input) {
132 return escape(input, 0, input.length()).toString();
133 }
134
135 /**
136 * Escape the given char sequence.

Callers 1

formatMethod · 0.95

Calls 6

getPopularCharMethod · 0.95
lengthMethod · 0.80
charAtMethod · 0.80
subSequenceMethod · 0.80
toStringMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected