public enum ConnType extends Enum<ConnType>
| 枚举常量和说明 |
|---|
OLD_WAY_CONN |
SINGLE_NOID_ENCRYPT_CONN |
SINGLE_NOID_NOENCRYPT_CONN |
SINGLE_WITHID_ENCRYPT_CONN |
SINGLE_WITHID_NOENCRYPT_CONN |
UNKONWN_TYPE |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getConnText() |
int |
getConnType() |
void |
setConnText(String connText) |
void |
setConnType(int connType) |
static ConnType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ConnType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ConnType SINGLE_NOID_NOENCRYPT_CONN
public static final ConnType SINGLE_WITHID_NOENCRYPT_CONN
public static final ConnType SINGLE_NOID_ENCRYPT_CONN
public static final ConnType SINGLE_WITHID_ENCRYPT_CONN
public static final ConnType OLD_WAY_CONN
public static final ConnType UNKONWN_TYPE
public static ConnType[] values()
for (ConnType c : ConnType.values()) System.out.println(c);
public static ConnType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public int getConnType()
public void setConnType(int connType)
public String getConnText()
public void setConnText(String connText)
Copyright © 2017. All Rights Reserved.