public static enum MimeWriter.WriteMimeDataType extends Enum<MimeWriter.WriteMimeDataType>
Enum Constant and Description |
---|
BODY
write the MIME body parts
|
HEADERS
write the MIME header (e.g.
|
NO_DELETE_ATTACHMENTS
don't delete attachment during itemization.
|
Modifier and Type | Method and Description |
---|---|
static MimeWriter.WriteMimeDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MimeWriter.WriteMimeDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MimeWriter.WriteMimeDataType HEADERS
public static final MimeWriter.WriteMimeDataType BODY
public static final MimeWriter.WriteMimeDataType NO_DELETE_ATTACHMENTS
public static MimeWriter.WriteMimeDataType[] values()
for (MimeWriter.WriteMimeDataType c : MimeWriter.WriteMimeDataType.values()) System.out.println(c);
public static MimeWriter.WriteMimeDataType 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 nullCopyright © 2019–2021 HCL. All rights reserved.