Package | Description |
---|---|
com.google.common.escape |
Interfaces, utilities, and simple implementations of escapers and encoders.
|
Modifier and Type | Method and Description |
---|---|
Escapers.Builder |
Escapers.Builder.addEscape(char c,
String replacement)
Adds a replacement string for the given input character.
|
static Escapers.Builder |
Escapers.builder()
Returns a builder for creating simple, fast escapers.
|
Escapers.Builder |
Escapers.Builder.setSafeRange(char safeMin,
char safeMax)
Sets the safe range of characters for the escaper.
|
Escapers.Builder |
Escapers.Builder.setUnsafeReplacement(String unsafeReplacement)
Sets the replacement string for any characters outside the 'safe' range that have no explicit
replacement.
|
Copyright © 2010-2017. All Rights Reserved.