public static enum Pop.Authentication extends java.lang.Enum<Pop.Authentication>
Modifier and Type | Field and Description |
---|---|
int |
code |
Modifier and Type | Method and Description |
---|---|
abstract void |
apply(Pop client,
java.lang.String banner) |
static Pop.Authentication |
authenticationFor(int code) |
static Pop.Authentication |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pop.Authentication[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pop.Authentication BASIC
public static final Pop.Authentication APOP
public static final Pop.Authentication XOAUTH2
public static Pop.Authentication[] values()
for (Pop.Authentication c : Pop.Authentication.values()) System.out.println(c);
public static Pop.Authentication valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Pop.Authentication authenticationFor(int code)
public abstract void apply(Pop client, java.lang.String banner) throws java.lang.Exception
java.lang.Exception
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved