public static enum Attachment.AttachmentType extends Enum<Attachment.AttachmentType>
Modifier and Type | Method and Description |
---|---|
static Attachment.AttachmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Attachment.AttachmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attachment.AttachmentType MIME
public static final Attachment.AttachmentType XOP
public static final Attachment.AttachmentType CONTENT
public static final Attachment.AttachmentType SWAREF
public static final Attachment.AttachmentType UNKNOWN
public static Attachment.AttachmentType[] values()
for (Attachment.AttachmentType c : Attachment.AttachmentType.values()) System.out.println(c);
public static Attachment.AttachmentType 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. All Rights Reserved.