MCPcopy Create free account
hub / github.com/SPLWare/esProc / deunicode

Method deunicode

src/main/java/com/scudata/common/StringUtils.java:98–142  ·  view source on GitHub ↗

将字符串中unicode字符转换为\uxxxx形式,并对'\\','\t','\n','\r','\f'进行 处理,还对specialChars中任何字符加前导\ @param s 需要处理的字符串 @param sb 追加处理结果的缓冲区 @param specialChars 需要加前导\的特别字符串 @return 若sb!=null则返回sb,否则返回追加了处理结果的新StringBuffer

(String s, StringBuffer sb,
			String specialChars)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

calculateMethod · 0.95
calculateAllMethod · 0.95

Calls 4

appendMethod · 0.65
toStringMethod · 0.65
lengthMethod · 0.45
indexOfMethod · 0.45

Tested by

no test coverage detected