public enum AttachmentMethod extends java.lang.Enum<AttachmentMethod>
| Enum Constant and Description |
|---|
ATTACH_BY_REFERENCE
The Attachment.getPathName() or the Attachment.getLongPathName() contains a fully-qualified path identifying the attachment to recipients with access to a common file server.
|
ATTACH_BY_REFERENCE_ONLY
The Attachment.getPathName() or the Attachment.getLongPathName() contains a fully-qualified path identifying the attachment.
|
ATTACH_BY_REFERENCE_RESOLVE
The Attachment.getPathName() or the Attachment.getLongPathName() contains a fully-qualified path identifying the attachment.
|
ATTACH_BY_VALUE
The Attachment.getDataObject() contains the attachment data.
|
ATTACH_BY_WEB_REFERENCE |
EMBEDDED_MESSAGE
The Attachment.getDataObject() contains an embedded Message object.
|
NO_ATTACHMENT
The attachment has just been created.
|
NONE
None
|
OLE
The attachment is an embedded OLE object.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachmentMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttachmentMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachmentMethod NO_ATTACHMENT
public static final AttachmentMethod ATTACH_BY_VALUE
public static final AttachmentMethod ATTACH_BY_REFERENCE
public static final AttachmentMethod ATTACH_BY_REFERENCE_RESOLVE
public static final AttachmentMethod ATTACH_BY_REFERENCE_ONLY
public static final AttachmentMethod EMBEDDED_MESSAGE
public static final AttachmentMethod OLE
public static final AttachmentMethod ATTACH_BY_WEB_REFERENCE
public static final AttachmentMethod NONE
public static AttachmentMethod[] values()
for (AttachmentMethod c : AttachmentMethod.values()) System.out.println(c);
public static AttachmentMethod 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