Top Description Classes
[default module]

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

Class Summary

Modifier and TypeClass and Description
public class
AggregateTranslator

Executes a sequence of translators one after the other.

public abstract class
CharSequenceTranslator

An API for translating text.

public abstract class
CodePointTranslator

Helper subclass to CharSequenceTranslator to allow for translations that will replace up to one character at a time.

public class
CsvTranslators

Holds inner classes for escaping/unescaping Comma Separated Values.

public class
EntityArrays

Class holding various entity data for HTML and XML - generally for use with the LookupTranslator.

public class
JavaUnicodeEscaper

Translates code points to their Unicode escaped value suitable for Java source.

public class
LookupTranslator

Translates a value using a lookup table.

public class
NumericEntityEscaper

Translates code points to their XML numeric entity escaped value.

public class
NumericEntityUnescaper

Translates XML numeric entities of the form &#[xX]?\d+;?

public class
OctalUnescaper

Translate escaped octal Strings back to their octal values.

pack-priv abstract class
SinglePassTranslator

Abstract translator for processing whole input in single pass.

public class
UnicodeEscaper

Translates code points to their Unicode escaped value.

public class
UnicodeUnescaper

Translates escaped Unicode values of the form \\u+\d\d\d\d back to Unicode.

public class
UnicodeUnpairedSurrogateRemover

Helper subclass to CharSequenceTranslator to remove unpaired surrogates.