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 classArrayBasedUnicodeEscaperAUnicodeEscaperthat 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 UnicodeEscaperEscapers. asUnicodeEscaper(Escaper escaper)Returns aUnicodeEscaperequivalent to the given escaper instance.private static UnicodeEscaperEscapers. 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.StringEscapers. computeReplacement(UnicodeEscaper escaper, int cp)Returns a string that would replace the given character in the specified escaper, ornullif 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 voidEscaperAsserts. assertEscaping(UnicodeEscaper escaper, java.lang.String expected, int cp)Asserts that a Unicode escaper escapes the given code point into the expected string.static voidEscaperAsserts. assertUnescaped(UnicodeEscaper escaper, int cp)Asserts that a Unicode escaper does not escape the given character.static voidEscaperAsserts. 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 classPercentEscaperAUnicodeEscaperthat escapes some set of Java characters using a UTF-8 based percent encoding scheme.
-