Uses of Class
com.google.common.escape.CharEscaper
-
Packages that use CharEscaper Package Description com.google.common.escape Interfaces, utilities, and simple implementations of escapers and encoders.com.google.common.escape.testing Testing utilities for use in tests ofcom.google.common.escape. -
-
Uses of CharEscaper in com.google.common.escape
Subclasses of CharEscaper in com.google.common.escape Modifier and Type Class Description classArrayBasedCharEscaperACharEscaperthat uses an array to quickly look up replacement characters for a givencharvalue.private static classCharEscaperBuilder.CharArrayDecoratorSimple decorator that turns an array of replacement char[]s into a CharEscaper, this results in a very fast escape method.Methods in com.google.common.escape with parameters of type CharEscaper Modifier and Type Method Description static java.lang.StringEscapers. computeReplacement(CharEscaper escaper, char c)Returns a string that would replace the given character in the specified escaper, ornullif no replacement should be made.private static UnicodeEscaperEscapers. wrap(CharEscaper escaper)Private helper to wrap a CharEscaper as a UnicodeEscaper. -
Uses of CharEscaper in com.google.common.escape.testing
Methods in com.google.common.escape.testing with parameters of type CharEscaper Modifier and Type Method Description static voidEscaperAsserts. assertEscaping(CharEscaper escaper, java.lang.String expected, char c)Asserts that an escaper escapes the given character into the expected string.static voidEscaperAsserts. assertUnescaped(CharEscaper escaper, char c)Asserts that an escaper does not escape the given character.
-