public enum SmtpState extends Enum<SmtpState>
| Enum Constant and Description |
|---|
CONNECT |
DATA_BODY |
DATA_HDR |
GREET |
MAIL |
QUIT |
RCPT |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static SmtpState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmtpState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmtpState CONNECT
public static final SmtpState GREET
public static final SmtpState MAIL
public static final SmtpState RCPT
public static final SmtpState DATA_HDR
public static final SmtpState DATA_BODY
public static final SmtpState QUIT
public static SmtpState[] values()
for (SmtpState c : SmtpState.values()) System.out.println(c);
public static SmtpState 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 nullCopyright © 2017. All rights reserved.