|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ImapDataSource.ConnectionSecurity>
org.semanticdesktop.aperture.datasource.imap.ImapDataSource.ConnectionSecurity
public static enum ImapDataSource.ConnectionSecurity
Enum of possible values of the connectionSecurity property
Enum Constant Summary | |
---|---|
PLAIN
Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/12/imapds#PLAIN |
|
SSL
Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/12/imapds#SSL |
|
SSL_NO_CERT
Constant representing http://aperture.semanticdesktop.org/ontology/2007/08/12/imapds#SSL_NO_CERT |
Method Summary | |
---|---|
static ImapDataSource.ConnectionSecurity |
fromUri(URI uri)
|
URI |
toUri()
|
static ImapDataSource.ConnectionSecurity |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ImapDataSource.ConnectionSecurity[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ImapDataSource.ConnectionSecurity PLAIN
public static final ImapDataSource.ConnectionSecurity SSL
public static final ImapDataSource.ConnectionSecurity SSL_NO_CERT
Method Detail |
---|
public static ImapDataSource.ConnectionSecurity[] values()
for (ImapDataSource.ConnectionSecurity c : ImapDataSource.ConnectionSecurity.values()) System.out.println(c);
public static ImapDataSource.ConnectionSecurity valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static ImapDataSource.ConnectionSecurity fromUri(URI uri)
public URI toUri()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |