|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MailType>
org.cert.cc.jira.email.MailType
public enum MailType
MailType defines the various types of incoming mail that is supported. UNKNOWN is unsupported.
© 2009 Carnegie Mellon University
Enum Constant Summary | |
---|---|
HAS_ATTACHMENTS
There 1 or more attachments |
|
PGP
PGP/GPG encrypted |
|
PGP_MIME
PGP/MIME encrytped with attachments |
|
PGP_SIGNED
PGP/GPG signed; actual content is plain text |
|
PLAIN_TEXT
Plain text email |
|
SMIME
S/MIME encrypted |
|
UNKNOWN
Unknown. |
Method Summary | |
---|---|
static MailType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MailType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MailType PLAIN_TEXT
public static final MailType SMIME
public static final MailType PGP
public static final MailType PGP_SIGNED
public static final MailType PGP_MIME
public static final MailType HAS_ATTACHMENTS
public static final MailType UNKNOWN
Method Detail |
---|
public static MailType[] values()
for (MailType c : MailType.values()) System.out.println(c);
public static MailType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |