public enum MIMEPartType extends Enum<MIMEPartType> implements INumberEnum<Byte>
Enum Constant and Description |
---|
BODY |
EPILOG |
MESSAGE |
PROLOG |
RETRIEVE_INFO |
Modifier and Type | Method and Description |
---|---|
long |
getLongValue() |
Byte |
getValue() |
static MIMEPartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MIMEPartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MIMEPartType PROLOG
public static final MIMEPartType BODY
public static final MIMEPartType EPILOG
public static final MIMEPartType RETRIEVE_INFO
public static final MIMEPartType MESSAGE
public static MIMEPartType[] values()
for (MIMEPartType c : MIMEPartType.values()) System.out.println(c);
public static MIMEPartType 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 nullpublic Byte getValue()
getValue
in interface INumberEnum<Byte>
public long getLongValue()
getLongValue
in interface INumberEnum<Byte>
long
Copyright © 2014–2018. All rights reserved.