public static enum Rfc822Msg.Encoding extends java.lang.Enum<Rfc822Msg.Encoding>
NONE
, which means the content of this
Rfc822Msg
is plain text; and
BASE64
, which means that the content has been
Base64-encoded (possibly from a character set other than UTF-8).
If no Encoding
is specified, the message will be interpreted as
plain text.
Modifier and Type | Method and Description |
---|---|
static Rfc822Msg.Encoding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rfc822Msg.Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rfc822Msg.Encoding NONE
public static final Rfc822Msg.Encoding BASE64
public static Rfc822Msg.Encoding[] values()
for (Rfc822Msg.Encoding c : Rfc822Msg.Encoding.values()) System.out.println(c);
public static Rfc822Msg.Encoding valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null