Uses of Class
org.apache.commons.text.translate.CharSequenceTranslator
Package
Description
Basic classes for text handling.
An API for creating text translation routines from a set of smaller building blocks.
-
Uses of CharSequenceTranslator in org.apache.commons.text
Modifier and TypeFieldDescriptionstatic final CharSequenceTranslator
StringEscapeUtils.ESCAPE_CSV
Translator object for escaping individual Comma Separated Values.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_ECMASCRIPT
Translator object for escaping EcmaScript/JavaScript.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_HTML3
Translator object for escaping HTML version 3.0.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_HTML4
Translator object for escaping HTML version 4.0.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_JAVA
Translator object for escaping Java.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_JSON
Translator object for escaping Json.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_XML10
Translator object for escaping XML 1.0.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_XML11
Translator object for escaping XML 1.1.static final CharSequenceTranslator
StringEscapeUtils.ESCAPE_XSI
Translator object for escaping Shell command language.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_CSV
Translator object for unescaping escaped Comma Separated Value entries.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_ECMASCRIPT
Translator object for unescaping escaped EcmaScript.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_HTML3
Translator object for unescaping escaped HTML 3.0.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_HTML4
Translator object for unescaping escaped HTML 4.0.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_JAVA
Translator object for unescaping escaped Java.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_JSON
Translator object for unescaping escaped Json.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_XML
Translator object for unescaping escaped XML.static final CharSequenceTranslator
StringEscapeUtils.UNESCAPE_XSI
Translator object for unescaping escaped XSI Value entries.Modifier and TypeMethodDescriptionstatic StringEscapeUtils.Builder
StringEscapeUtils.builder
(CharSequenceTranslator translator) Gets aStringEscapeUtils.Builder
. -
Uses of CharSequenceTranslator in org.apache.commons.text.translate
Modifier and TypeClassDescriptionclass
Executes a sequence of translators one after the other.class
Helper subclass to CharSequenceTranslator to allow for translations that will replace up to one character at a time.static class
Translator for escaping Comma Separated Values.static class
Translator for unescaping escaped Comma Separated Value entries.class
Translates code points to their Unicode escaped value suitable for Java source.class
Translates a value using a lookup table.class
Translates code points to their XML numeric entity escaped value.class
Translates XML numeric entities of the form &#[xX]?\d+;? to the specific code point.class
Translate escaped octal Strings back to their octal values.class
Translates code points to their Unicode escaped value.class
Translates escaped Unicode values of the form \\u+\d\d\d\d back to Unicode.class
Helper subclass to CharSequenceTranslator to remove unpaired surrogates.Modifier and TypeMethodDescriptionfinal CharSequenceTranslator
CharSequenceTranslator.with
(CharSequenceTranslator... translators) Helper method to create a merger of this translator with another set of translators.Modifier and TypeMethodDescriptionfinal CharSequenceTranslator
CharSequenceTranslator.with
(CharSequenceTranslator... translators) Helper method to create a merger of this translator with another set of translators.ModifierConstructorDescriptionAggregateTranslator
(CharSequenceTranslator... translators) Specify the translators to be used at creation time.