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.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.escapeModifier and TypeClassDescriptionclassAUnicodeEscaperthat uses an array to quickly look up replacement characters for a given code point.Methods in com.google.common.escape that return UnicodeEscaperModifier and TypeMethodDescription(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 UnicodeEscaperModifier and TypeMethodDescriptionstatic 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 UnicodeEscaperModifier and TypeMethodDescriptionstatic voidEscaperAsserts.assertEscaping(UnicodeEscaper escaper, 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, 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 classAUnicodeEscaperthat escapes some set of Java characters using a UTF-8 based percent encoding scheme.