Package com.independentsoft.email.mime
Enum Class StandardHeader
- All Implemented Interfaces:
Serializable,Comparable<StandardHeader>,Constable
Contains the standard message headers defined in RFC 2822.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBcc header field.Cc header field.Comments header field.Content-Description header field.Content-Disposition header field.Content-ID header field.Content-Length header field.Content-Location header field.Content-Transfer-Encoding header field.Content-Type header field.Date header field.From header field.In-Reply-To header field.Keywords header field.Message-ID header field.MIME-Version header field.Received header field.References header field.Reply-To header field.Resent-Bcc header field.Resent-Cc header field.Resent-Date header field.Resent-From header field.Resent-Msg-ID header field.Resent-Sender header field.Resent-To header field.Return-Path header field.Sender header field.Subject header field.To header field. -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardHeaderReturns the enum constant of this class with the specified name.static StandardHeader[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESENT_DATE
Resent-Date header field. -
RESENT_FROM
Resent-From header field. -
RESENT_SENDER
Resent-Sender header field. -
RESENT_TO
Resent-To header field. -
RESENT_CC
Resent-Cc header field. -
RESENT_BCC
Resent-Bcc header field. -
RESENT_MESSAGE_ID
Resent-Msg-ID header field. -
FROM
From header field. -
SENDER
Sender header field. -
REPLY_TO
Reply-To header field. -
TO
To header field. -
CC
Cc header field. -
BCC
Bcc header field. -
MESSAGE_ID
Message-ID header field. -
IN_REPLY_TO
In-Reply-To header field. -
REFERENCES
References header field. -
SUBJECT
Subject header field. -
COMMENTS
Comments header field. -
KEYWORDS
Keywords header field. -
DATE
Date header field. -
RETURN_PATH
Return-Path header field. -
RECEIVED
Received header field. -
MIME_VERSION
MIME-Version header field. -
CONTENT_TYPE
Content-Type header field. -
CONTENT_ID
Content-ID header field. -
CONTENT_TRANSFER_ENCODING
Content-Transfer-Encoding header field. -
CONTENT_DESCRIPTION
Content-Description header field. -
CONTENT_DISPOSITION
Content-Disposition header field. -
CONTENT_LOCATION
Content-Location header field. -
CONTENT_LENGTH
Content-Length header field.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-