public enum EmailMessageAttachmentType extends Enum<EmailMessageAttachmentType>
JavaMailSessionBuilderFactory.INSTANCE| Enum Constant and Description |
|---|
ATTACHMENT
An email attachment with a file name.
|
INLINE
Tip: Only use this type if you really know what you are doing.
|
| Modifier and Type | Field and Description |
|---|---|
String |
disposition |
| Modifier and Type | Method and Description |
|---|---|
static EmailMessageAttachmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EmailMessageAttachmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmailMessageAttachmentType ATTACHMENT
Part.ATTACHMENT,
INLINEpublic static final EmailMessageAttachmentType INLINE
Part.INLINE,
ATTACHMENTpublic final String disposition
public static EmailMessageAttachmentType[] values()
for (EmailMessageAttachmentType c : EmailMessageAttachmentType.values()) System.out.println(c);
public static EmailMessageAttachmentType 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 © 2013–2020. All rights reserved.