| Package | Description | 
|---|---|
| com.google.common.escape | Interfaces, utilities, and simple implementations of escapers and encoders. | 
| com.google.common.html | Escapers
 for
 HTML. | 
| com.google.common.net | This package contains utility methods and classes for working with net addresses (numeric IP and
 domain names). | 
| com.google.common.xml | Escapers
 for
 XML. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArrayBasedCharEscaperA  CharEscaperthat uses an array to quickly look up replacement characters for a givencharvalue. | 
| class  | ArrayBasedUnicodeEscaperA  UnicodeEscaperthat uses an array to quickly look up replacement characters for a given
 code point. | 
| class  | CharEscaperAn object that converts literal text into a format safe for inclusion in a particular context
 (such as an XML document). | 
| class  | UnicodeEscaperAn  Escaperthat converts literal text into a format safe for inclusion in a particular
 context (such as an XML document). | 
| Modifier and Type | Method and Description | 
|---|---|
| Escaper | Escapers.Builder. build()Returns a new escaper based on the current state of the builder. | 
| static Escaper | Escapers. nullEscaper()Returns an  Escaperthat does no escaping, passing all character data through unchanged. | 
| Escaper | CharEscaperBuilder. toEscaper()Convert this builder into a char escaper which is just a decorator around the underlying array
 of replacement char[]s. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Escaper | HtmlEscapers. htmlEscaper() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PercentEscaperA  UnicodeEscaperthat escapes some set of Java characters using a UTF-8 based percent
 encoding scheme. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Escaper | UrlEscapers. urlFormParameterEscaper()Returns an  Escaperinstance that escapes strings so they can be safely included in
 URL form parameter names and values. | 
| static Escaper | UrlEscapers. urlFragmentEscaper()Returns an  Escaperinstance that escapes strings so they can be safely included in a
 URL fragment. | 
| static Escaper | UrlEscapers. urlPathSegmentEscaper()Returns an  Escaperinstance that escapes strings so they can be safely included in
 URL path segments. | 
| Modifier and Type | Method and Description | 
|---|---|
| static Escaper | XmlEscapers. xmlAttributeEscaper()Returns an  Escaperinstance that escapes special characters in a string so it can
 safely be included in XML document as an attribute value. | 
| static Escaper | XmlEscapers. xmlContentEscaper()Returns an  Escaperinstance that escapes special characters in a string so it can
 safely be included in an XML document as element content. | 
Copyright © 2010-2017. All Rights Reserved.