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