public class EncodedWord
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BASE64
Base64 Encoding.
|
static int |
QUOTED_PRINTABLE
QuotedPritntable Encoding.
|
Constructor and Description |
---|
EncodedWord() |
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuilder |
decode(java.lang.CharSequence input)
Decodes a string that contains EncodedWords.
|
static java.lang.StringBuilder |
encode(java.lang.CharSequence input,
java.nio.charset.Charset charset,
int type)
Takes a text in form of a CharSequence encoded in the given charset (e.g.
|
public static final int QUOTED_PRINTABLE
public static final int BASE64
public static java.lang.StringBuilder decode(java.lang.CharSequence input)
input
- a string containing EncodedWordspublic static java.lang.StringBuilder encode(java.lang.CharSequence input, java.nio.charset.Charset charset, int type)
input
- the headerlinecharset
- the used charset (e.g. ISO-8859-1)type
- the encoding to be usedCopyright © 2021. All Rights Reserved.