public enum ContentTransferEncoding extends Enum<ContentTransferEncoding>
QUOTED_PRINTABLE
. This list reflects Jakarta Mail's supported encoders as found at
StreamProvider.EncoderTypes
Enum Constant and Description |
---|
B |
BASE_64 |
BINARY |
BIT7 |
BIT8 |
Q |
QUOTED_PRINTABLE |
UU |
X_UU |
X_UUE |
Modifier and Type | Method and Description |
---|---|
static ContentTransferEncoding |
byEncoder(@NotNull String encoder) |
static ContentTransferEncoding |
getDefault() |
String |
toString() |
static ContentTransferEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentTransferEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentTransferEncoding BASE_64
public static final ContentTransferEncoding B
public static final ContentTransferEncoding Q
public static final ContentTransferEncoding BINARY
public static final ContentTransferEncoding BIT7
public static final ContentTransferEncoding BIT8
public static final ContentTransferEncoding QUOTED_PRINTABLE
public static final ContentTransferEncoding UU
public static final ContentTransferEncoding X_UU
public static final ContentTransferEncoding X_UUE
public static ContentTransferEncoding[] values()
for (ContentTransferEncoding c : ContentTransferEncoding.values()) System.out.println(c);
public static ContentTransferEncoding valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ContentTransferEncoding byEncoder(@NotNull @NotNull String encoder)
public String toString()
toString
in class Enum<ContentTransferEncoding>
public static ContentTransferEncoding getDefault()
Copyright © 2009–2023. All rights reserved.