Package | Description |
---|---|
org.apache.commons.lang3 |
Provides highly reusable static utility methods, chiefly concerned with adding value to the
java.lang classes. |
org.apache.commons.lang3.text.translate |
An API for creating text translation routines from a set of smaller building blocks.
|
Modifier and Type | Field and Description |
---|---|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_CSV
Translator object for escaping individual Comma Separated Values.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_ECMASCRIPT
Translator object for escaping EcmaScript/JavaScript.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_HTML3
Translator object for escaping HTML version 3.0.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_HTML4
Translator object for escaping HTML version 4.0.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_JAVA
Translator object for escaping Java.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_JSON
Translator object for escaping Json.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_XML
Deprecated.
use
StringEscapeUtils.ESCAPE_XML10 or StringEscapeUtils.ESCAPE_XML11 instead. |
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_XML10
Translator object for escaping XML 1.0.
|
static CharSequenceTranslator |
StringEscapeUtils.ESCAPE_XML11
Translator object for escaping XML 1.1.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_CSV
Translator object for unescaping escaped Comma Separated Value entries.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_ECMASCRIPT
Translator object for unescaping escaped EcmaScript.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_HTML3
Translator object for unescaping escaped HTML 3.0.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_HTML4
Translator object for unescaping escaped HTML 4.0.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_JAVA
Translator object for unescaping escaped Java.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_JSON
Translator object for unescaping escaped Json.
|
static CharSequenceTranslator |
StringEscapeUtils.UNESCAPE_XML
Translator object for unescaping escaped XML.
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateTranslator
Executes a sequence of translators one after the other.
|
class |
CodePointTranslator
Helper subclass to CharSequenceTranslator to allow for translations that
will replace up to one character at a time.
|
class |
JavaUnicodeEscaper
Translates codepoints to their Unicode escaped value suitable for Java source.
|
class |
LookupTranslator
Translates a value using a lookup table.
|
class |
NumericEntityEscaper
Translates codepoints to their XML numeric entity escaped value.
|
class |
NumericEntityUnescaper
Translate XML numeric entities of the form &#[xX]?
|
class |
OctalUnescaper
Translate escaped octal Strings back to their octal values.
|
class |
UnicodeEscaper
Translates codepoints to their Unicode escaped value.
|
class |
UnicodeUnescaper
Translates escaped Unicode values of the form \\u+\d\d\d\d back to
Unicode.
|
class |
UnicodeUnpairedSurrogateRemover
Helper subclass to CharSequenceTranslator to remove unpaired surrogates.
|
Modifier and Type | Method and Description |
---|---|
CharSequenceTranslator |
CharSequenceTranslator.with(CharSequenceTranslator... translators)
Helper method to create a merger of this translator with another set of
translators.
|
Modifier and Type | Method and Description |
---|---|
CharSequenceTranslator |
CharSequenceTranslator.with(CharSequenceTranslator... translators)
Helper method to create a merger of this translator with another set of
translators.
|
Constructor and Description |
---|
AggregateTranslator(CharSequenceTranslator... translators)
Specify the translators to be used at creation time.
|
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.