@Immutable public final class RFC2047Helper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RFC2047Helper.ECodec |
| Modifier and Type | Field and Description |
|---|---|
static Charset |
DEFAULT_CHARSET |
| Modifier and Type | Method and Description |
|---|---|
static String |
decode(String sValue)
Used to decode a string as specified by RFC 2047
|
static String |
encode(String sValue) |
static String |
encode(String sValue,
Charset aCharset) |
static String |
encode(String sValue,
Charset aCharset,
RFC2047Helper.ECodec eCodec)
Used to encode a string as specified by RFC 2047
|
public static final Charset DEFAULT_CHARSET
@Nullable public static String encode(@Nullable String sValue, @Nonnull Charset aCharset, RFC2047Helper.ECodec eCodec)
sValue - The string to encodeaCharset - The character set to use for the encodingeCodec - Codec typeCopyright © 2014–2019 Philip Helger. All rights reserved.