Package lumis.portal.sendmail
Enum IMailAttachment.ContentDispositionType
- java.lang.Object
-
- java.lang.Enum<IMailAttachment.ContentDispositionType>
-
- lumis.portal.sendmail.IMailAttachment.ContentDispositionType
-
- All Implemented Interfaces:
Serializable
,Comparable<IMailAttachment.ContentDispositionType>
- Enclosing interface:
- IMailAttachment
public static enum IMailAttachment.ContentDispositionType extends Enum<IMailAttachment.ContentDispositionType>
Content disposition types for aIMailAttachment
.- Since:
- 14.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACHMENT
Indicates the attachment is separated from the main body of the mail message, and its display should not be automatic, but contingent upon some further action of the user.INLINE
Indicates the attachment is intended to be displayed automatically upon display of the message.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IMailAttachment.ContentDispositionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static IMailAttachment.ContentDispositionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INLINE
public static final IMailAttachment.ContentDispositionType INLINE
Indicates the attachment is intended to be displayed automatically upon display of the message.- Since:
- 14.0.0
- See Also:
- RFC 2183,
IMailAttachment#setContentDisposition
-
ATTACHMENT
public static final IMailAttachment.ContentDispositionType ATTACHMENT
Indicates the attachment is separated from the main body of the mail message, and its display should not be automatic, but contingent upon some further action of the user.- Since:
- 14.0.0
- See Also:
- RFC 2183,
IMailAttachment#setContentDisposition
-
-
Method Detail
-
values
public static IMailAttachment.ContentDispositionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IMailAttachment.ContentDispositionType c : IMailAttachment.ContentDispositionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IMailAttachment.ContentDispositionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-