Sets the safe range of characters for the escaper. Characters in this range that have no explicit replacement are considered 'safe' and remain unescaped in the output. If safeMax < safeMin then the safe range is empty. @param safeMin the lowest 'safe' character @param safeMax the highest 's
(char safeMin, char safeMax)
| 119 | */ |
| 120 | |
| 121 | @CanIgnoreReturnValue |
| 122 | public Builder setSafeRange(char safeMin, char safeMax) { |
| 123 | this.safeMin = safeMin; |
| 124 | this.safeMax = safeMax; |
| 125 | return this; |
| 126 | } |
| 127 | |
| 128 | /** |
| 129 | * Sets the replacement string for any characters outside the 'safe' range that have no explicit |