org.apache.commons.text.translate (Apache Commons Text 1.11.0 API)
Description: declaration: package: org.apache.commons.text.translate

# 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

- Related Packages
  Package
  Description
  org.apache.commons.text
  Basic classes for text handling.
- Class
  Description
  AggregateTranslator
  Executes a sequence of translators one after the other.
  CharSequenceTranslator
  An API for translating text.
  CodePointTranslator
  Helper subclass to CharSequenceTranslator to allow for translations that will replace up to one character at a time.
  CsvTranslators
  This class holds inner classes for escaping/unescaping Comma Separated Values.
  CsvTranslators.CsvEscaper
  Translator for escaping Comma Separated Values.
  CsvTranslators.CsvUnescaper
  Translator for unescaping escaped Comma Separated Value entries.
  EntityArrays
  Class holding various entity data for HTML and XML - generally for use with the LookupTranslator.
  JavaUnicodeEscaper
  Translates code points to their Unicode escaped value suitable for Java source.
  LookupTranslator
  Translates a value using a lookup table.
  NumericEntityEscaper
  Translates code points to their XML numeric entity escaped value.
  NumericEntityUnescaper
  Translates XML numeric entities of the form &#[xX]?\d+;? to the specific code point.
  NumericEntityUnescaper.OPTION
  Enumerates NumericEntityUnescaper options for unescaping.
  OctalUnescaper
  Translate escaped octal Strings back to their octal values.
  UnicodeEscaper
  Translates code points to their Unicode escaped value.
  UnicodeUnescaper
  Translates escaped Unicode values of the form \\u+\d\d\d\d back to Unicode.
  UnicodeUnpairedSurrogateRemover
  Helper subclass to CharSequenceTranslator to remove unpaired surrogates.