public static enum SmtpWriter.AuthMethod extends Enum<SmtpWriter.AuthMethod>
Enum Constant and Description |
---|
ANONYMOUS |
CRAM_MD5 |
DIGEST_MD5 |
LOGIN |
PLAIN |
POP_BEFORE_SMTP |
Modifier and Type | Method and Description |
---|---|
static SmtpWriter.AuthMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmtpWriter.AuthMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmtpWriter.AuthMethod ANONYMOUS
public static final SmtpWriter.AuthMethod PLAIN
public static final SmtpWriter.AuthMethod LOGIN
public static final SmtpWriter.AuthMethod CRAM_MD5
public static final SmtpWriter.AuthMethod DIGEST_MD5
public static final SmtpWriter.AuthMethod POP_BEFORE_SMTP
public static SmtpWriter.AuthMethod[] values()
for (SmtpWriter.AuthMethod c : SmtpWriter.AuthMethod.values()) System.out.println(c);
public static SmtpWriter.AuthMethod 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 © 2015 OpenEstate. All rights reserved.