public enum SSmtpProtocol extends Enum<SSmtpProtocol>
| Modifier and Type | Method and Description |
|---|---|
int |
getOrdinal() |
static SSmtpProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SSmtpProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SSmtpProtocol SMTP
public static final SSmtpProtocol SMTPS
public static final SSmtpProtocol STARTTLS
public static SSmtpProtocol[] values()
for (SSmtpProtocol c : SSmtpProtocol.values()) System.out.println(c);
public static SSmtpProtocol 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 int getOrdinal()
Copyright © 2018 OpenSource BIM. All rights reserved.