| Modifier and Type | Class and Description |
|---|---|
class |
MultiCharMapper
An implementation of
CharMapper that delegates to a number of other mappers in turn. |
| Modifier and Type | Field and Description |
|---|---|
static CharMapper |
URI.charMapper
A
CharMapper for use with Strings.escape(String, CharMapper) etc. |
static CharMapper |
Java.charMapper |
static CharMapper |
Java.stringMapper |
| Modifier and Type | Method and Description |
|---|---|
void |
MultiCharMapper.addCharMapper(CharMapper mapper)
Add a
CharMapper instance to the list of delegate mappers. |
static void |
Strings.appendEscaped(Appendable a,
CharSequence s,
CharMapper mapper)
Append characters to an
Appendable, mapping them to their "escaped" equivalents
specified in the provided CharMapper instance. |
static void |
Strings.appendEscaped(Appendable a,
CharSequence s,
int index,
int end,
CharMapper mapper)
Append characters to an
Appendable, mapping them to their "escaped" equivalents
specified in the provided CharMapper instance. |
static void |
Strings.appendEscapedUTF16(Appendable a,
CharSequence s,
CharMapper mapper)
Append characters to an
Appendable, mapping them to their "escaped" equivalents
specified in the provided CharMapper instance. |
static void |
Strings.appendEscapedUTF16(Appendable a,
CharSequence s,
int index,
int end,
CharMapper mapper)
Append characters to an
Appendable, mapping them to their "escaped" equivalents
specified in the provided CharMapper instance. |
static CharSequence |
Strings.escape(CharSequence s,
CharMapper mapper)
Replace certain characters in a
CharSequence with their mapped equivalents, as
specified in the provided CharMapper instance. |
static String |
Strings.escape(String s,
CharMapper mapper)
Replace certain characters in a string with their mapped equivalents, as specified in the
provided
CharMapper instance. |
static CharSequence |
Strings.escapeUTF16(CharSequence s,
CharMapper mapper)
Replace certain characters in a
CharSequence with their mapped equivalents, as
specified in the provided CharMapper instance. |
static String |
Strings.escapeUTF16(String s,
CharMapper mapper)
Replace certain characters in a string with their mapped equivalents, as specified in the
provided
CharMapper instance. |
| Constructor and Description |
|---|
MultiCharMapper(CharMapper... mappers)
Construct a
MultiCharMapper with the supplied list of delegate mappers. |
Copyright © 2020. All rights reserved.