Package org.apache.commons.text.translate
package org.apache.commons.text.translate
An API for creating text translation routines from a set of smaller building blocks. Initially created to make it possible for the user to customize the rules in the StringEscapeUtils class.
These classes are immutable, and therefore thread-safe.
- Since:
- 1.0
-
ClassDescriptionExecutes a sequence of translators one after the other.An API for translating text.Helper subclass to CharSequenceTranslator to allow for translations that will replace up to one character at a time.This class holds inner classes for escaping/unescaping Comma Separated Values.Translator for escaping Comma Separated Values.Translator for unescaping escaped Comma Separated Value entries.Class holding various entity data for HTML and XML - generally for use with the LookupTranslator.Translates code points to their Unicode escaped value suitable for Java source.Translates a value using a lookup table.Translates code points to their XML numeric entity escaped value.Translates XML numeric entities of the form &#[xX]?\d+;? to the specific code point.Enumerates NumericEntityUnescaper options for unescaping.Translate escaped octal Strings back to their octal values.Abstract translator for processing whole input in single pass.Translates code points to their Unicode escaped value.Translates escaped Unicode values of the form \\u+\d\d\d\d back to Unicode.Helper subclass to CharSequenceTranslator to remove unpaired surrogates.