Uses of Class
com.google.common.escape.UnicodeEscaper
-
Packages that use UnicodeEscaper 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
.com.google.common.net This package contains utility methods and classes for working with net addresses (numeric IP and domain names). -
-
Uses of UnicodeEscaper in com.google.common.escape
Subclasses of UnicodeEscaper in com.google.common.escape Modifier and Type Class Description class
ArrayBasedUnicodeEscaper
AUnicodeEscaper
that uses an array to quickly look up replacement characters for a given code point.Methods in com.google.common.escape that return UnicodeEscaper Modifier and Type Method Description (package private) static UnicodeEscaper
Escapers. asUnicodeEscaper(Escaper escaper)
Returns aUnicodeEscaper
equivalent to the given escaper instance.private static UnicodeEscaper
Escapers. wrap(CharEscaper escaper)
Private helper to wrap a CharEscaper as a UnicodeEscaper.Methods in com.google.common.escape with parameters of type UnicodeEscaper Modifier and Type Method Description static java.lang.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 UnicodeEscaper Modifier and Type Method Description static void
EscaperAsserts. assertEscaping(UnicodeEscaper escaper, java.lang.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, java.lang.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.net Modifier and Type Class Description class
PercentEscaper
AUnicodeEscaper
that escapes some set of Java characters using a UTF-8 based percent encoding scheme.
-