Uses of Class
com.google.common.escape.UnicodeEscaper
Packages that use UnicodeEscaper
Package
Description
Interfaces, utilities, and simple implementations of escapers and encoders.
Testing utilities for use in tests of
com.google.common.escape
.Utility methods and classes for networking (such as IP addresses and domain names).
-
Uses of UnicodeEscaper in com.google.common.escape
Subclasses of UnicodeEscaper in com.google.common.escapeModifier and TypeClassDescriptionclass
AUnicodeEscaper
that uses an array to quickly look up replacement characters for a given code point.Methods in com.google.common.escape with parameters of type UnicodeEscaperModifier and TypeMethodDescriptionstatic String
Escapers.computeReplacement
(UnicodeEscaper escaper, int cp) Returns a string that would replace the given character in the specified escaper, ornull
if no replacement should be made. -
Uses of UnicodeEscaper in com.google.common.escape.testing
Methods in com.google.common.escape.testing with parameters of type UnicodeEscaperModifier and TypeMethodDescriptionstatic void
EscaperAsserts.assertEscaping
(UnicodeEscaper escaper, String expected, int cp) Asserts that a Unicode escaper escapes the given code point into the expected string.static void
EscaperAsserts.assertUnescaped
(UnicodeEscaper escaper, int cp) Asserts that a Unicode escaper does not escape the given character.static void
EscaperAsserts.assertUnicodeEscaping
(UnicodeEscaper escaper, String expected, char hi, char lo) Asserts that a Unicode escaper escapes the given hi/lo surrogate pair into the expected string. -
Uses of UnicodeEscaper in com.google.common.net
Subclasses of UnicodeEscaper in com.google.common.netModifier and TypeClassDescriptionfinal class
AUnicodeEscaper
that escapes some set of Java characters using a UTF-8 based percent encoding scheme.