public enum MailStore extends Enum<MailStore>
| Enum Constant and Description |
|---|
IMAP |
IMAP_OVER_SSL |
POP3 |
POP3_OVER_SSL |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultPort() |
String |
getProtocol() |
static MailStore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailStore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailStore IMAP
public static final MailStore IMAP_OVER_SSL
public static final MailStore POP3
public static final MailStore POP3_OVER_SSL
public static MailStore[] values()
for (MailStore c : MailStore.values()) System.out.println(c);
public static MailStore 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 String getProtocol()
public int getDefaultPort()
Copyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.