Uses of Class
com.google.common.escape.Escapers.Builder
Package
Description
Interfaces, utilities, and simple implementations of escapers and encoders.
-
Uses of Escapers.Builder in com.google.common.escape
Modifier and TypeMethodDescriptionAdds a replacement string for the given input character.static Escapers.Builder
Escapers.builder()
Returns a builder for creating simple, fast escapers.Escapers.Builder.setSafeRange
(char safeMin, char safeMax) Sets the safe range of characters for the escaper.Escapers.Builder.setUnsafeReplacement
(@Nullable String unsafeReplacement) Sets the replacement string for any characters outside the 'safe' range that have no explicit replacement.